GCONTROL
to create the controls), place a MidasControls widget in the location
where the GCONTROL
should place its controls and give it the variable
name of pane0; GCONTROL
then adds all of its controls on the
MidasControls widget when the macro runs.
GCONTROL
button name. Right-click and select Rename and
enter exit. You should also change the text of the button; select the button
and in the properties list enter Exit for the exit button's text. The
button text does not need to match the button variable name and can have more
user-friendly text and helpful "toolTipText".
GCONTROL
button's name.
Since we defined our button as gcontrol button state "" "Exit"
,
we need to name the ButtonGroup state to let NeXtMidas pass messages
from that button group to the processMessage procedure in our macro.