Using STATTEXT objects to Display Data


 

A LABELTEXT or STATTEXT control displays text that the user cannot directly change. You can use one of these controls to identify other controls, such as EDITTEXT boxes and scroll bars, that do not have their own title property. The actual text displayed in a by the object is controlled by the Text property, which can be set at design time in the Properties window of the Form Designer or at run time by using the SETITEM instruction.

 

By default, the text is the only visible part of the control. However, if you set the Border property to true (which you can do at design time), the object appears with a border - giving it a look similar to a text box. You can also change the appearance of the object by setting the BorderStyle, BackColor, BackStyle, ForeColor, and Font properties.



PL/B IDE Studio Help Controls for Displaying and Entering Text Working with EDITTEXT Controls