Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put text in right corner of the form's caption
Message
From
08/09/2000 16:52:30
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00414419
Message ID:
00414421
Views:
19
>Hi everybody,
>
>Recently we decided to put version number in the right corner of the form's caption for all our applications. Therefore, I think, we'll add a new property to our form, say, CurrentVersion, and we have to find a way to stuff this info into right corner of the title bar (we would have the similar problem for screen too, since our main application resides in VFP Screen). IOW, there is the problem:
>
>My Caption
> should be
>My Caption                                V 1.1
>
>
>Could you please help me to write this method (InsertVersionNumber)?
>
>Thanks in advance.

Hardly worth the trouble. You'd have to calculate the position within your Caption string using FONTMETRICS and your form's size. Much easier to just put it in the upper right corner of your baseclass form as a label, and be done with it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform