Hi!
When you set grid's properties in design time, columns get that property value too for most properties (second approach that I mentioned).
You can also write a PRG file and run it on some key pressing:
ON KEY LABEL ... DO MySetupGrid.PRG
In the PRG you can use aSelObj() function that will return you currently selected object on the form (grid or column). using it you can set up it programmatically as you want. Changes will be saved when you save the class.
Hope this helps.
>Thanks Vlad but is this possible at design time. Which is what I want.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.