Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right aligning report labels and fields at run time
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01189824
Message ID:
01190312
Views:
20
Thank you for the response, Cathy. There is no problem right aligning the fields.

The problem is getting the labels' right end to appear in the same place as shown in the editor. One way the problem appears is when you want to make labels and fields that appear right aligned in the editor to also appear right aligned at runtime.

A similar problem happens when you try to right align at runtime labels of different lengths that appear to be right aligned in the editor.

Alex


>In the editor, select the fields that you want right-aligned and then select Format from the menu, then Text Alignment, then pick right alignment. That should make sure they really show up right-aligned on the printed output.
>
>Cathy
>
>
>
>
>>Does anybody else find it annoying that the VFP9 report designer is not WYSIWYG?
>>
>>I brought over some reports from FoxPro DOS and it is very frustrating that at design time the table headers are right aligned with figures but at view time they are not! For example the following case:
>>
>>At design time:
>>
>>.
>>                           Hours
>>       Name               Worked   Salary
>>       John Doe            35.50   500.00
>>
>>At run time: The name title and data left align correctly, but the title for Hours and Salary are not right aligned with the data.
>>
>>Also if you have a bunch of labels like this, at run time they are *not* right aligned. Also since the labels are longer ar run time than at design time, if the label is long sometimes it covers part of the corrresponding field value.
>>
>>
>>.
>>   Number: XXXXXX
>>     Name: XXXXXXXXXXX
>>  Address: XXXXXXXXXXX
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform