求助_test()无法调用的问题_使用经验
学习.交流
专业源于专注
www. onlyit. cn   
学习交流 文件下载 手册资料 交流QQ群

    

 3  1/1   1  
作者
内容
1934184799  [个人空间]
QQ名  河内-服装


注册  2015-06-23
发贴数  472
精华贴  1
原创贴  0
来自  
状态  正常

级别  会员
#1»发布于2015-08-05 15:07

int _test() 

dbg("hello"); 
return 1; 
}; 
 
int create_voucher() 

gui_create_button("Panel_Func",'t1',750,4,80,28,'test','_test()'); 
}; 
 
点击按钮,调用test不成功,请教。


        


1934184799  [个人空间]
QQ名  河内-服装


注册  2015-06-23
发贴数  472
精华贴  1
原创贴  0
来自  
状态  正常

级别  会员
#2»发布于2015-08-07 20:13

int init_win() 

 gui_set_x("CheckBox_Show_Child_Edt",700); 
 gui_set_x("CheckBox_Show_Zero",850); 
 gui_set_x("Edit_Search_Key",60); 
 
  //gui_set_x("Label_Search_Key",1000); 
  //gui_set_x("SpeedButton_Search_Key",1050); 
 //gui_set_x("SpeedButton_Search_Key_Style",1100); 
  gui_hide("Label_search_Key"); 
  gui_hide("SpeedButton_Search_Key"); 
  gui_hide("SpeedButton_Search_Key_Style"); 
 
 
 gui_create_button("Panel_List","模糊查询",200,6,60,20,"模糊查询",'run_csp_line.menu_trigger_click("N_Search_Style_Auto")+gui_trigger_click("SpeedButton_Search_Key")'); 
 gui_create_button("Panel_List","名称查询",260,6,60,20,"名称查询",'run_csp_line.menu_trigger_click("N_Search_Style_Res_Name")+gui_trigger_click("SpeedButton_Search_Key")'); 
 gui_create_button("Panel_List","编码查询",320,6,60,20,"编码查询",'run_csp_line.menu_trigger_click("N_Search_Style_Res_Id")+gui_trigger_click("SpeedButton_Search_Key")'); 
 gui_create_button("Panel_List","仓库名称",380,6,60,20,"仓库名称",'run_csp_line.menu_trigger_click("N_Search_Style_Edt_Name")+gui_trigger_click("SpeedButton_Search_Key")'); 
 gui_create_button("Panel_List","仓库编码",440,6,60,20,"仓库编码",'run_csp_line.menu_trigger_click("N_Search_Style_Edt_Id")+gui_trigger_click("SpeedButton_Search_Key")'); 
 return 1; 
};


        


1934184799  [个人空间]
QQ名  河内-服装


注册  2015-06-23
发贴数  472
精华贴  1
原创贴  0
来自  
状态  正常

级别  会员
#3»发布于2015-08-07 21:42

int init_win() 

gui_create_button("Panel_List","模糊查询",200,6,60,20,"模糊查询","run_csp_line.gui_trigger_click('SpeedButton_Search_Key_Style')+menu_trigger_click('N_Search_Style_Auto')"); 
gui_create_button("Panel_List","物资名称",280,6,60,20,"物资名称","run_csp_line.gui_trigger_click('SpeedButton_Search_Key_Style')+menu_trigger_click('N_Search_Style_Name')"); 
gui_create_button("Panel_List","物资编码",340,6,60,20,"物资编码","run_csp_line.gui_trigger_click('SpeedButton_Search_Key_Style')+menu_trigger_click('N_Search_Style_No')"); 
}


        



 3  1/1   1  

登录后方可发贴


[ 电话: 0571-85462761 王先生 QQ: 124520435 加入软件QQ群 - 杭州 - 浙ICP备19051128号-1 网安 33010402003225 ]