Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids : adding a custom textbox
Message
 
 
À
30/07/2001 10:28:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537185
Message ID:
00537212
Vues:
16
>I want to add a column to a grid, containing a custom textbox. This customtextbox has 2 methods that I need for some incremental searching and the grid needs to be created on the fly, not at development time.
>
>This is the code I use :
>
>ThisForm.Egrid1.addcolumn(1)
>ThisForm.Egrid1.Column1.removeobject("text1") && first remove the standard textbox
>ThisForm.Egrid1.Column1.addobject("MyTextBox1", "etextboxsearchgrid") && and put my own instead
>
>When I check with the debugger, everything seems to be OK, but the column of the grid doesn't use the properties nor the methods defined in 'etextboxsearchgrid'.
>
>Why is that ?

You should set your control to be visible.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform