Contents Previous Next Subchapters

Determine the Extra Width Needed for Radio Buttons
See Also: addcontrol

Syntax
radiowidth

Description
Returns the number of pixels of width required between the inside and outside of a "radiobuttons" control. This is the difference between the width reserved for the control in the call to addcontrol and the width available for the name of the buttons. It is returned as an integer scalar. This routine is defined in the include file guisize.oms

Example
If the file guisize.oms has not yet been included, enter the command
     include guisize.oms
If you enter
     radiowidth
O-Matrix will respond
     30
which is current difference. It is better to use this function instead of the values directly incase these values change in a future version of O-Matrix.