Unit Vgrid |
Classes |
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
TValidateEvent = procedure( var Value:String; var Validate:boolean; ACol,ARow:LongInt) of objectTValidStringGrid is the StringGrid with Validate Event -- Also, InsertRow and DeleteRow methods are availabled. -------------------------------------------------- Methods: function DeleteRow(p_Row:integer):boolean ; p_Row: row to be deleted. function InsertRow(var p_Row:integer; p_GrowFlag:boolean):boolean ; p_Row: row to be inserted. p_GrowFlag=True for rowcount increase by one. --------------------------------------------------- Event: OnValidate: procedure( var Value:String; var Validate:boolean; ACol,ARow:LongInt) of object ; occures when current cell is exited or return key pressed and the cell has been modified. Value: New text of old cell. Validate: set to False for don't change old cell's text ACol,ARow: the old cell.
Constants |
Variables |