AddButtonToPanel#
This command is new in build 187
Moves a button onto a panel.
Syntax
<AddButtonToPanel button panel [x y [width height]]>
Parameters
Buttonis the name of the button.
Panelis the name of the panel.
Xis the horizontal coordinate of the button’s upper left corner.
Yis the vertical coordinate of the button’s upper left corner.
Widthis the button’s width.
Heightis the button’s height.
Remarks
The position (x and y) is relative to the client area of the panel.
You don’t have to specify x, y, width or height. You can set them later, after the button has been added, with SetWinPos, SetWinSize, and SetWinRect.
Example
<Hotkey F1>
<AddButtonToPanel MyButton MyPanel>
Related topics