Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Maximum length of STATICTEXT control

Keywords:   STATICTEXT 

Question:

The text in a STATICTEXT control is being truncated after about 50-ish bytes regardless of the value specified for the width of this control. The width of the dialog box itself, where the control is displayed, is quite sufficient. Is there a maximum value for this control?

Answer:

Maximum length? No that I'm really aware of.

However, if the text overflows the box, Windows will back up to the first space before the cutoff point and truncate the line there.

It also will not display more than one line.


Article ID:   W12849
Filename:   Maximum Length of STATICTEXT control.txt