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
01/10/1997 15:06:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051777
Message ID:
00052906
Views:
45
>>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
>
>So it's about six clicks per textbox, just to remove it and replace it
>with a different control, for every grid I make. Wasn't OOP intended to
>group such repetitive jobs into classes, where they get solved once for
>good?
>
>I can only repeat what I've said in the other reply in this thread.

Very true. I've created this one grid for use everywhere so I've only had to do this once. I've never done it again so I'd say the the OOP principles have been applied. I've even subclassed this grid to customize other grids but I didn't have to go through the process of entirely remaking it.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform