Hi,
I am building a simple interface for the user and have a window to set some options using check boxes. I would like to have the boxes checked by default. How is this done. The manual mentions a depreciated dialog box that allows setting of a default and recommends using modal window instead. There appears to be no straightforward method described in the manual to achieve same functionality.
How should it be done?
Andy
New Window( "Input Required", <<Modal,
VlistBox(align("Center"),
Text Box("Set Preferences"),
Pref =Check Box({"Remove Single Value","Remove Duplicates","Group by Name"},1),
spacer box(size(200,20)),
Hlistbox(2,
Button Box( "OK",
RV=Pref<<get(1);
RD=Pref<<get(2);
GR=Pref<<get(3);
),
Button Box( "Cancel",
stop();
)
))
);