- Syntax (Case sensistive):
- Window.AddControl(id, 9, X, Y, WIDTH, HEIGHT,"Text");
- Sample:
- Window.AddControl(8,9,0,60,80,10,"The text line");
- Description:
-
This is a single-line edit control. 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.
|
|