Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids that work like listboxes
Message
De
05/01/1998 10:27:43
 
 
À
19/12/1997 21:54:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00067356
Message ID:
00069500
Vues:
28
>Hi Erik
>
>Please, could you give me a brief explanation about how to construct grids that look and work like listboxes?
>
>Thanks
>
>Juan Carlos

Juan Carlos-
sorry for the long delay, I have been on vacation. If you are stil interested in the answer to your question...
You can play with the following properties to get the look you want, but the settings I use are:
columncount = 1
deletemark = .F.
gridlines = .F.
headerheight = 0
readonly = .T.
recordmark = .F.
scrollbars = 2 (vertical)
splitbar = .F.

Set your recordsource like you would for a listbox, and instead of the interactive change event and the value property, use the afterrowcolchange event and the value of the field that the grid column is bound to.

I hope this helps.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform