码农们,麻烦帮一个忙
- badbug在看aardio,用到一个下拉菜单,想实现选不同的选项,一组数据被赋值不同的常数,有点搞不定;
比如复制代码- ::AA=123456;
- ::AB=234567;
- ::BA=654321;
- ::BB=765432;
- mainForm.Location.oncommand = function(id,event){
- if( event = 0x1/){
- A=AA,B=AB; //这两行应当对应下拉表单的两项,不知道怎么写
- A=BA,B=BB;
- }
- mainForm.A.text=A;
- mainForm.B.text=B;
- }
- ::AA=123456;
- zoubeibei