info.mailtraq.com > Management > Script Functions A-Z > InsertButton() InsertButton()Paints a user defined button control onto a dialog display. Used in conjunction with the ShowForm() function.
InsertButton( from left , from top , caption , width , height [ , expr ] )
- from left
- Distance to the control from the left of the dialog edge in pixels
- from top
- Distance to the control from the top of the dialog in pixels
- caption
- Button text. Keyboard accelerators using & (ASCII 38) are permitted, for example, "&Ok"
- width
- Width of the control in pixels
- height
- Height of the control in pixels
- expr
- Optional expression to set a variable when a button control is activated by the user
For example usage see the ShowForm() function |