Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a listbox where I can format my output?
Message
From
29/07/1999 12:12:22
 
 
To
29/07/1999 11:55:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00247576
Message ID:
00247740
Views:
26
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform