Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make mygrid contain mytextbox?
Message
De
30/10/1998 09:07:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00152433
Message ID:
00152743
Vues:
29
>>>>>Is there a way to make mygrid class contain mytextbox class when creating a grid instead of the VFP textbox class?
>>>>
>>>>You can do it either visually (add object to column in class designer)
>>>
>>>There are no columns in grid class to add object to.
>>
>>but you can make them resetting Grid.ColumnCount
>
>Yeah, but this is a two-edge sword. Once you put the grid on a form you can *add* colums to it, but you cannot remove the columns that were created by the "class"...
>
>Now then, *changing* the textbox to mytextbox is easy enough to do manually...provided you don't have a grid with 1,234,693 columns ;)

You also can Add/Remove columns programmatically in run-time.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform