Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatical label's width
Message
De
04/05/1998 17:07:18
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/05/1998 10:30:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00096378
Message ID:
00096869
Vues:
28
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform