#12002/11/9 14:06:37
我在用tMsControls.u32制作出二级弹出式菜单后,我不知道怎么表示二级菜单的值?
如:tMsAddItem(rightHandle,1,0,"菜单一")
tMsAddItem(rightHandle,2,0,"菜单二")
tMsAddItem(rightHandle,2,1,"菜单三")
tMsAddItem(rightHandle,2,2,"菜单四")
result:=tMsDisplayControl(Handle,CursorX,CursorY,150,100,0)
选择“菜单一”后返回的值为1;
选择“菜单三”后返回的值为2:1,“菜单四”为2:2;
但我在后面取菜单三后返回的“2:1”时就不行?
if result=2:1 then GoTo(IconID@"0093")
else
end if
如何正确表示“result=值”呢?