The TextBox class represents text boxes. It is a subclass of
Box.
| Method | Inherited | Description |
| setText | (Self) | Set the text to be shown in the text box. |
| setFontStyle | (Self) | Set the font of the text by specifying the file that contains the font. |
| setFontSize | (Self) | Set the font height and width in points. |
| setFontAngle | (Self) | Set the rotation angle and layout direction of the text. |
| setFontColor | (Self) | Set the color of the text. |
| setMargin | (Self) | Set all margins (left, right, top, and bottom) of the text box to the same value. |
| setMargin2 | (Self) | Set the margins of the text box in pixels. |
| setAlignment | (Self) | Set the alignment of the text relative to the container box. |
| setPos | Box | Set the coordinates of the top-left corner of the box. |
| setSize | Box | Set the width and height of the box. |
| setBackground | Box | Set the background color, border color and 3D border effect of the box. |
| getWidth | Box | Get the width of the box. |
| getHeight | Box | Get the height of the box. |
| getImageCoor | Box | Get the image map coordinates of the box as HTML image map attributes. |
© 2004 Advanced Software Engineering Limited. All rights reserved.