I am trying to set a TStringGrid component to edit mode using code.
The only thing I can find on this is the EditorMode property which does
not put the control to editing. I see the ShowEditor procedure which is
what I want to do, however it is protected so I can not call it. Anyone
know how to set the StringGrid into editing mode?
Thanks
Darron
Paul
StringGrid has a property named "Options".
For this Options there exist many flags
with the prefix go... (for GridOptions).
One Flag is goEditing.
In Code:
with YourStringGrid do
Options := Options + [goEditing];
I think your problem is solved.
Regards
Stephan Schneider