Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass the standard grid and have my own textbo
Message
 
To
29/09/1997 15:23:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051777
Message ID:
00052367
Views:
29
>>Is there a way to make my "sub-classed" grid column unfurls with my own
>>"sub-classed" textbox?
>
>Welcome to the club. I've complained of the same thing at least twice
>this year, and I don't remember any useful response.

Start a new form. Put a base class grid with no columns on the form. Enter the number of columns that you desire. Click on the properties sheet, click on Text1. Click on the form's title bar to make it the active window, press the Delete key and Text1 will be deleted. Remove all instances of Text1 that way.
Click on Column1, click the form's title bar and then drag the control that you want for the column onto Column1. Repeat this until you have all the controls in place for all of your columns. Click File from the menu, select Save As Class... You now have a custom grid class subclassed from another grid.

Steve Despres
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform