你所说的情况,我想应当通过在相应FRAME的SCL代码中添加相应代码段的方法来解决。具体情况可进一步讨论。作者: shiyiming 时间: 2003-9-23 13:17 标题: 样例程序胜过任何解释 创建一个frame,添加一个按钮pushbutton1。
Pushbutton1:
listMenu={{text='Item A',
helpText='Item A',
mnemonic='A',
classifier=0},
{text='Item B',
helpText='Item B',
mnemonic='B',
classifier=0},
{text='',
helpText=''},
{text='Item C',
helpText='(Item C',
mnemonic='C',
classifier=0}};
numRC=popmenu(listMenu);
if numRC=1 then put 'Item A is selected.';
else if numRC=2 then put 'Item B is selected.';
else if numRC=4 then put 'Item C is selected.';
else put 'Nothing is selected.';
return;