VISIO::TOGGLE (int grid, int xpos, int ypos, int xsize, int ysize, string caption)

Description: Creates a toggle button on grid 'grid' with coordinates 'xpos' and 'ypos'. The width of the button is determined by 'xsize' and the height by 'ysize'. Finally the text described by 'caption' is placed on the button. Returns the ID of the created button.

Example: toggle = VISIO::TOGGLE (grid, 5, 1, 3, 2, "ON/OFF")