Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox question
Message
From
02/08/2005 09:56:28
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01037824
Message ID:
01037829
Views:
21
Have you thought about using a fixed width font?

>Hello All,
>
>I would like to know if there is a better way than my existing code to right align one column in a listbox containing 7 columns:
>
>
>.aEventData[nEventCount,4] = SPACE((15 - TXTWIDTH(cData,'Arial',8)) / .6) + cData
>
>
>The results from the above line of code gives a reasonable result but often times the right alignment can be a bit crooked.
>
>I know that a Grid would also do this with its listbox-like properties however, the listbox is easier to manage for this particular exercise.
>
>Any thoughts or suggestions would be most gratefully received.
>
>Rex
Previous
Reply
Map
View

Click here to load this message in the networking platform