do you want to "edit Cell"
if yes look at GRID -> [ EDIT | ALLOWEDIT ] and "Properties Available For OnDblClick Procedure:"
Hi Jimmy,
I would like to replace the ROWSOURCE's one field to another, after acivated the GRID control and before edit the Cell.
eg. this control activated
Code: Select all
@ 10,10 GRID Grid_1 ;
WIDTH 770 ;
HEIGHT 440 ;
HEADERS {'Column 1','Column 2','Column 3','Column 4','Column 5','Column 6'} ;
WIDTHS {140,140,140,100,100,100};
EDIT ;
VALUE { 1 , 1 } ;
COLUMNCONTROLS { aCtrl_1 , aCtrl_2 , aCtrl_3 , aCtrl_4 , aCtrl_5 , aCtrl_6 } ;
ROWSOURCE "Test" ;
COLUMNFIELDS { 'Code' , 'First' , 'Last' , 'Birth' , 'Married' , 'Bio' } ;
ALLOWAPPEND ;
ALLOWDELETE
And i'd like to change the order after acivated. Change the 'First' field to 'Code' field.
Code: Select all
COLUMNFIELDS { 'First' , 'Code' , 'Last' , 'Birth' , 'Married' , 'Bio' } ;