Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text alignment in a grid
Message
 
 
To
17/09/2003 18:32:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00830138
Message ID:
00830139
Views:
27
Jeff,

With proper formatting the data in column should look aligned if you change texbox font to non-proportional, Courier New, for example. BTW, I guess
Str(table.numfield,'#########.##')+ ... 
* Should be
TRANSFORM(table.numfield,'#########.##')+...right?

>Hello,
>
>I want to display information from 2 fields of a table in 1 column of a grid. The first one is a numberic value and the second is a character.
>
>I have accomplished this trough setting the columns controlsource to
>"Str(table.numfield,'#########.##')+SPACE(1)+table.charfield" but now my problem is alignment. I need to left justify the charfield and right justify the numfield.
>
>Example:
>
>-100 lf
>2500 EA
>
>Is there another control that I can put in the column of the grid that would give me more formatting flexibility that a text box?
>
>Any help is truly appreciated.
>
>Thanks,
>
>Jeff
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform