ADDOBJECT "Label", name, xpos, ypos, width, height
Description
Label is used to display read-only text in an object that floats over the output window. The required component, name, is the name of a variable that is added to the program to reference the object. The optional components, xpos, ypos, width, and height are numeric expressions that set the location and size of the object in pixels, measured from the upper left corner.
Note: By default, the TabStop property is FALSE preventing activation for keyboard input from the user interface.
Properties Supported (see "Properties")
Alignment, BackColor, BorderStyle, Caption, Enabled, FontBold, FontItalic, FontName, FontSize, FontStrikethru, FontUnderline, ForeColor, Height, Hwnd, Left, Name, ParentHWnd, TabStop, Tag, Text, Timer, Top, UseMnemonic, Visible, Width, WindowLong
Methods Supported (see "Methods")
Hide, Move, SetFocus, Show
Events Supported (see "Events")
Click, Timer
Example
REM Label Example
ADDOBJECT "Label", "Label", 10, 10, 40, 20
Label.BackColor = Output.BackColor
ADDOBJECT "TextBox", "Input", 55, 10, 160,20
Input.text = ""
Input.SetFocus
Output
Related Items
ADDOBJECT, Events, Methods, Properties, TextBox