Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help about grid
Message
De
16/08/2004 11:35:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/08/2004 09:19:33
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00933519
Message ID:
00933567
Vues:
23
>Hi all
>I see some grid that in it for example a combo box is in one column instead of one textbox.
>How I can make this? Is it only a class? And must it be only a class?
>Thanks

You can put almost any control into a grid column. Usually, you would want to take out the TextBox.

The real problem is selecting the contained objects - at least in VFP6, you have to do this through the Properties Sheet.

You will have to change the Column.CurrentControl property. For many controls, it is also convenient to change the property Column.Sparse. This affects visibility.

You can also have more than one control in a column, and conditionally activate one or the other. But I suggest that you better start experimenting with single controls, like a ComboBox instead of a TextBox.

And no, I don't think it has to be based on a specific class you created.

Greetings,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform