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

I have a block of code that calcs height / width very well. For the use of stuff I need to have in minimum possible width, but with changeable value. Objects, no WINDOW. Was a bit of ugly work to figure it out. I thought i had a FAQ here on that, but I can not find it.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform