Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make mygrid contain mytextbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00152433
Message ID:
00152873
Vues:
26
Ken,

If you allow the grid to build itself at runtime, it will use VFP baseclasses, there is no other way. What you can do is in the Grid.Init() use a loop and remove each text1 and put your own in it's place. That code I posted works just as well at runtime as it does at design time.

>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 ;)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform