Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering WAIT WINDOW command
Message
From
17/09/2021 13:42:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/09/2021 13:30:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682301
Message ID:
01682308
Views:
46
>>NOTE: The use of ALINES() is only an approximation -- It breaks lines at character positions -- so it only really works if you're using a monospace font. Of course this might not be huge problem -- if I'm not mistaken WAIT WINDOW is limited to around 254 characters anyway
>
>In simple terms, it's a pain. That's while I suggest to use a form instead of a window. Even remembering that crap ruins the day.

Not to mention that he makes it look easy, mentioning fontmetric for character height, which is generally less than row height - plus there's the spacing, border, padding of the wait window window... So „approximation“ should be always taken with a two fingers thick layer of salt. It's actually more complicated than that.

Something like one of them tooltip windows we had lying around would do nicely.

back to same old

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

Click here to load this message in the networking platform