Screen SCREEN (dialog) component double-click (Double Click) response

Double-click the custom screen I / O component (other components are also available) to achieve the following effects:

The implementation steps are as follows:

1, a panel screen assembly properties

Tick ​​"Respond to double click"

2. Set the GUI STATUS attribute corresponding to the screen

Set function key F2 response CODE: DCLICK

3. Respond to double-click events

 

 

 

 

 

 

 

 

 

 

 

 

Published 190 original articles · praised 133 · 970,000 views

Guess you like

Origin blog.csdn.net/wanglei880526/article/details/102840948