Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot delete text boxes on grid
Message
De
10/05/1999 15:43:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00216460
Message ID:
00216863
Vues:
47
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform