Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering WAIT WINDOW command
Message
De
17/09/2021 13:42:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
17/09/2021 13:30:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682301
Message ID:
01682308
Vues:
48
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform