Hi there,
Only way to do it at design time, is by deleting default textbox and
placing your own class txt box in it's place.
You can make let say 30 columns like that initially, and then
when u add it to the form you simply limit number of columns
to number you need by decreasing column count property.
(At run or design time.)
You do it once and use it forever.
After that you end up with grid class and gridtxtbox class
which are tightly coupled but separate for easier further development.
If I remember correctly trick was is to place classtxtbox into clipboard
(copy) then delete default grid txtbox, click on form title and then paste
right away. [ctrl+v]
Entire Columns cannot be copied this way, at least not in VFP6 (and that I know about).
hth
>Hi
>i want to have a personalized grid for my programs then i created a grid class and also a column and header and connect them with memberclass and headerclass properties but i didn't find any way to put a personalized text box.
>is there any way or i have to remove that and replace a new one at runtime?