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:
00152602
Vues:
30
Colin,

In VFP6 you get the builder code.

It's not hard to write your own builder. Select a column of a grid. Then in the command window:

aselobj( laSel )
loCol = laSel[1]
loCol.RemoveObject( "text1" )
set classlib to mylib
loCol.AddObejct( "text1", "myText" )

There's more builder sample code on my website.

>>>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.
>
>>or programmatically (column.addobject)
>
>Could I modify the grid builder to do something like this? If so, do you know the file name and location?
df (was a 10 time MVP)

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

Click here to load this message in the networking platform