Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DblClick in the Grid
Message
 
À
22/06/2000 11:00:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00382904
Message ID:
00383243
Vues:
18
No, you can add textboxes or other controls of any class using the visual designer. Just make sure the grid is in edit mode, select the control you want from the Form Controls toolbar, and drop it in the column you want. If you want to delete the textbox that's already there, just select it in the drop down list on the property sheet, click on the grid's header, and press Del.

But you say that you're creating everything on-the-fly anyway, which implies you're doing it programmatically. As you've already pointed out, you can't add code to a method programmatically, so it seems having a class with this code already in it is the way to go.

>That means I have to create all the controls inside the grid programmatically, including columns, textboxes, checkboxes or whatever else might be mapped to the fields. Also I would have to subclass every possible type of control that could appear in the grid - and all that just for returning DblCLick?
>This grid is supposed to host *any* table, so columns and textboxes and headers are deleted and created on the fly by the grid itself when RecordSource is changed. WriteMethod does not work at run time so I have no way to put "this.Parent.Parent.DblClick" to my controls' DblClick method...
>;-(
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform