ADDOBJECT "Frame", name, xpos, ypos, width, height, parent
Description
A frame is a container that can contain other objects. To set an object as a child of another object, set parent to the name of the parent object. Methods applied to the frame will then automatically be applied to its children. The bounds of a child are relative to the frame it is contained in.
Properties Supported (see "Properties")
BackColor, Caption, Enabled, Font, FontBold, FontItalic, FontStrikeThru, FontUnderline, FontName, FontSize, ForeColor, Height, HWnd, Left, Name, ParentHWnd, Tag, Top, Timer, Visible, Width, WindowLong
Methods Supported (see "Methods")
Hide, Move, Show
Events Supported (see "Events")
Timer
Example
REM Frame Example
ADDOBJECT "Frame", "Frame",10,10,100,100
Frame.Caption = "My Frame"
ADDOBJECT "OptionButton","Opt",10,20,80,20
Opt.Caption = "My OptionButton"
Opt.parentHWnd = Frame.HWnd
Frame.move 100,100 'move frame and contents
Output

Related Items
ADDOBJECT, Events, Methods, Properties