>>>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.
OffThere is no place like [::1]