Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left & Right Justified Form Captions
Message
From
11/08/1999 11:59:15
 
 
To
10/08/1999 23:16:24
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252344
Message ID:
00252584
Views:
9
>I want to create forms that have flexible captions (change via program and user selections) that include the Form Name (fixed) left justified in the titlebar and the changeable info right justified in the title bar. Is there a way to do this?

First, what you want to do runs against Window's Standards. Second, it would be difficult. You'd need an API call to find out what font the user has selected for the form caption, then use FONTMETRIC() to figure out how many spaces to put in front of the caption to right justify it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform