Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatical label's width
Message
From
04/05/1998 17:07:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/05/1998 10:30:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00096378
Message ID:
00096869
Views:
16
>Can't you calculate everything in pixels initialy and change the Form.ScaleMode to foxels when everything is done? The form will keep it's layout and you have your foxels as mesurement unit.
>
>Vlad

Well, I've started playing with it, though it gives me some unpredictable results. I've watched a label whose default width was 7.15 (foxels or whatever, that's the way it got instantiated from my label class), then I've set its .width (while the form used pixels) to form.textwidth(.caption), which went to 75; then I set form.scalemode=3 and the debugger showed its .width=450. Next second it GPFed... so I say I'll have to play around with it some more. Probably I'll have to reinstall first, this bloody thing GPFs much too often (I know I've installed from a suspicious-looking CD, but now I've borrowed VS).

I promise to report on progress, if any :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform