- Syntax:
- Window.AddControl(id, 12, X, Y, WIDTH, HEIGHT,"Text");
- Sample:
- Window.AddControl(110,12,82,48,58,34,"The vertical scrollbar");
- Description:
-
This is a edit control (Creates a edit that has only a vertical scroll bar). An edit control is a rectangular control (X, Y, WIDTH, HEIGHT) window typically
used in a dialog box to permit the user to enter and edit text
from the keyboard.
The user can type text when the edit control displays a flashing caret; use the mouse to move the cursor, select characters to be replaced, or position the cursor for inserting characters; or use the BACKSPACE key to delete characters.
The horizontal base unit is equal to the average width, in pixels,
of the characters in the system font; the vertical base unit is equal
to the height, in pixels, of the font. Furthermore, each horizontal
base unit is equal to 4 horizontal dialog units; each vertical base unit
is equal to 8 vertical dialog units.
|
|