Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a listbox where I can format my output?
Message
De
29/07/1999 12:12:22
 
 
À
29/07/1999 11:55:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00247576
Message ID:
00247740
Vues:
33
Well, you'll have to play with it and experiment some to get it how you want it. But a few things to look at initially are:

Set all grid lines off
Set Deleted mark off
Only a vertical scroll bar
Set Header height to 0
Set row pointer off
Enable whole row highlighting by using the DynamicBackcolor property
Set SplitBar to false
You will probably need code in some of the grid and/or column and/or textbox events/methods to simulate listbox behavior, but you should be able to experiment with it to get it right.

It's possible someone has a class in the download section for a grid that simulates a listbox. You might check there and see.

Bill

>How do I configure a grid to look and act like a listbox?
>
>/Mårten Törnquist
>
>>>I need a listbox where I can for example make the currency column right aligned, how can that be done? Now I have to use the normal listbox and choose a font like Courier New to get the same result and the look of that is not that nice...
>>>
>>>/Mårten Törnquist
>>
>>I would suggest using a grid properly configures to appear like a listbox.
>>
>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform