Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot delete text boxes on grid
Message
From
10/05/1999 15:43:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00216460
Message ID:
00216863
Views:
48
>Dragan,
>
>You cannot remove a member of a class from an instance of that class. You can add a new control to the column and set it as the currentcontrol and forget about the textbox.

At design time you can't, for sure. I remember I tried to do that at runtime, but I got some results which seemed rather doubtful - the extra objects still remained there, or were .null. or something. I worked around it by declaring a class with no objects at all (in my case, it was a commandgroup with no buttons, or an optiongroup with only one button and tricks like that), and addobject()ed the necessary number of objects at runtime. This included one grid class with 0 columns.

May I have my old soapbox for a moment... thank you. Ceterum censeo, I think pageframe, buttongroups and grids should have an ability to have a customizable class of objects which are automatically added when WhateverCount is increased, provided their baseclass is appropriate.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform