Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Labels and alignment
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00320815
Message ID:
00321046
Views:
17
>>I have a label that I use to report how many records are returned from a search. The initial caption is 'Label to report to the user the total Records Found and of them how many are delinqunent', the alignment is center, the autosize is true, and the label is centered on the form to begin with. Now during the execution of the app the caption is changed to reflect the data I want it to say:
>>THIS.PARENT.C40lblRecordsFound.CAPTION = 'Your query found '+ALLTRIM(TRANSFORM(lnTally,'999,999,999'))+' records, of which '+ALLTRIM(TRANSFORM(lnDelinquentCount,'999,999,999'))+' have been found to be delinquent.'
>>
>>When the query runs once the label looks ok, but when I go back and run another query with new criteria the label then becomes off centered.
>>
>>Any ideas why?
>
>Have you tried resetting the Alignment and AutoSize properties along with the Caption?

Tried it, did not work. What seems to be a work around is if I make the label caption really long in the form designer. Then when the program runs the shifting of the label after a new caption has been made is not so noticable.

Thanks for the help though...
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform