金山开源(bkwin) 定义界面时按钮没反应的问题
来源:互联网 发布:香港有淘宝网吗 编辑:程序博客网 时间:2024/04/26 18:49
用bkwin 做一些测试,发现在 body里定义的一个按钮始终没有反应,定义的Xml如下
<?xml version="1.0" encoding="utf-8"?><layer title="AAAAAAAAA" width="1024" height="768" appwin="1" resize="1"> <header class="dlg_header" width="full" height="30"> <img pos="8,8" skin="pic_little_logo"/> <text pos="28,10" class="pic_head_text_title"> AAAAAAAAAAAA </text> <imgbtn id="102" pos="-105,1" tip="最小化" skin="dlg_btn_min"/> <imgbtn id="101" pos="-74,1" tip="最大化" skin="dlg_btn_max"/> <imgbtn id="100" pos="-43,1" tip="关闭" skin="dlg_btn_close"/> </header> <body class="bg_mainbody" width="full" height="full"> <img pos="-206,5" skin="pic_head_blank"/><imgbtn id="110" pos="|-69,5,|69" tip="菜单" skin="dlg_btn_menu"/> <tabctrl id="136" tabwidth="71" tabheight="71" tabskin="tab_main" crtext="FFFFCC" tabspacing="5" tabpos="1" framepos="7" pos="4,4,-0,-1" icon-x="10" icon-y="1" text-x="0" text-y="25"> <tab title="1111111111" width="full" height="full" crtext="000000"> <dlg pos="0,2,-0,-0"> <realwnd id="301" ctrlid="301" pos="0,10,-5,-5"/> </dlg> </tab> <tab title="2222222222" width="full" height="full" crtext="FFFFFF"> <dlg pos="0,2,-0,-0"> <realwnd id="401" ctrlid="401" pos="0,10,-5,-5"/> </dlg> </tab> <tab title="3333333333" width="full" height="full" crtext="FFFFFF"> </tab> </tabctrl> </body><footer class="dlg_footer" width="full" height="50" > </footer></layer>
其中 <imgbtn id="110" pos="|-69,5,|69" tip="菜单" skin="dlg_btn_menu"/> 是定义的按钮,没有任何反应
如果上述按钮定义放到<footer class="dlg_footer" width="full" height="50" > </footer> 中却是是生效的
其实我想实现的是这样的设置
<tab title="333333333" width="full" height="full" crtext="FFFFFF"><dlg pos="0,10,-5,-5" class="bg_bar"> <imgbtn id="110" pos="|-69,5,|69" tip="菜单" skin="dlg_btn_menu"/> </dlg> <dlg pos="0,2,-0,-0"> <realwnd id="501" ctrlid="501" pos="0,50,-5,-5"/> </dlg> </tab>
即 定义一个toolbar 包含所有的按钮,但是按钮始终没有生效,用了好几天的时间测试各种可能
最后一不小心把定义的位置,换了换,即把对按钮的定义(id="110")放到列表dlg(id="501")下面,竟然可以了,真神奇啊
<dlg pos="0,2,-0,-0"> <realwnd id="501" ctrlid="501" pos="0,50,-5,-5"/> </dlg><dlg pos="0,10,-5,-5" class="bg_bar"> <imgbtn id="110" pos="|-69,5,|69" tip="菜单" skin="dlg_btn_menu"/> </dlg>
- 金山开源(bkwin) 定义界面时按钮没反应的问题
- 金山界面库BkWin可视化设计的一种解决方案
- BkWin 金山界面库 界面创建流程剖析
- uploadify点击按钮没反应的解决办法
- 按钮点击没反应
- Qt 按钮没反应
- ios手机 按钮点击事件没反应(这个按钮是js生成的)
- ios 控件点击没反应的问题
- jsp单击按钮没反应
- 点击按钮没反应了
- Excel微调按钮没反应
- MyEclipse 部署按钮没反应
- 新手!点击按钮没反应
- ewebeditor在线编辑器IE8下 按钮没反应的解决方法
- ecshop点击订购、加入按钮没反应的解决方法
- QQ面板上的一些按钮没反应
- aspx中按钮不反应的问题
- BkWin界面框架使用说明
- {{Javascript}}函数表达式和函数声明
- Eval ToString 日期格式化,带NULL的。
- SQL Server 初探——数据库简介
- android 解析json数据格式
- 两个简单的Demo示例向读者展示Flash和ASP.NET交互原理以及过程
- 金山开源(bkwin) 定义界面时按钮没反应的问题
- Android获取文件目录路径
- 杭电1398,1028,1085//赤裸裸的母函数
- Andriod OpenGL 教程 02 - 第一个多边形
- CXF—六天系列—第五天—CXF+Spring配置客户端--HelloWorld!
- CXF—六天系列—第六天—找不到MessageFactoryImpl和BouncyCastleProvider类报错
- 【IAR】Error[Li005] no definition for "__program_start"
- hdu1595
- Android模拟器学framework和driver之battery & backlight-----5. backlight in linux