回复:wincc中一个变量的问题!

whxzx

  • 帖子

    124
  • 精华

    6
  • 被关注

    5

论坛等级:游侠

注册时间:2003-08-02

普通 普通 如何晋级?

发布于 2005-09-19 12:59:18

0楼

论坛上有一个关于buttonup不工作的问题:
"Button up" doesn't work after calling a standard function.

QUESTION:
Why is the first mouse click ignored when I execute one of the functions listed below via a button?

ANSWER:
If you execute one of the functions listed below via a button, then a box opens. When you close the box again, the button is displayed as being pressed as soon as you position the mouse pointer on it. The first mouse you use to close the box is ignored and thus ensures that the button behaves "normally" again.

This effect happens with the following standard functions:
OnBtnComment
OnBtnEmergAckn
OnBtnInfo
OnBtnLock
OnBtnSelect
TlgTableWindowPressOpenArchiveVariableSelectionDlgButton
TlgTableWindowPressOpenDlgButton
TlgTableWindowPressOpenItemSelectDlgButton
TlgTableWindowPressOpenTimeSelectDlgButton
TlgTrendWindowPressHelpButton
TlgTrendWindowPressOpenArchiveVariableSelectionDlgButton
TlgTrendWindowPressOpenDlgButton
TlgTrendWindowPressOpenItemSelectDlgButton
TlgTrendWindowPressOpenTimeSelectDlgButton

When a dialog box opens, the dialog box manager takes the OnButtonUp message out of the processing loop, which is why the button remains pressed.

Remedy:
Use the mouse click event for window commands and not "press left" or "press right".


Entry ID:715336 Date:01/18/1999


不知道你的程序是否是这种情况。
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC WinCC / Panel

共有32933条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。