Platform like how to implement a Windows-like right-click menu

Source: Internet
Author: User

diagram:
650) this.width=650; "id=" aimg_430 "src=" http://bbs.delit.cn/data/attachment/forum/201511/05/ 180119lqwpmtshqgwhzwpg.png.thumb.jpg "width=" "height=" 239 "alt=" 180119lqwpmtshqgwhzwpg.png.thumb.jpg "/>
How does this right-click shortcut menu be implemented in our rapid development platform?
In fact, it is very simple, the measurement of rapid development platform has provided a well-packaged right-click menu function, perhaps you have not found.
Open Event Management for Form Designer-Smart Wizard-Smart Form

650) this.width=650; "Src=" http://bbs.delit.cn/data/attachment/forum/201511/05/ 211213msk9fsjsggf5yysp.png.thumb.jpg "alt=" 211213msk9fsjsggf5yysp.png.thumb.jpg "/>

The method is found, and the problem comes again, where do you want to use this method?
Answer: Event Management-load events in smart forms

650) this.width=650; "id=" aimg_440 "src=" http://bbs.delit.cn/data/attachment/forum/201511/05/ 211541indmccpjwm2nttbp.png.thumb.jpg "width=" "height=" 243 "alt=" 211541indmccpjwm2nttbp.png.thumb.jpg "/>

attached: Right-click menu Introduction
Addcontextmenu (string name)
function 
Add a right-click menu to the Smart form.
Parameters

    • Name
      String type, feature name.  

return value
no return value.
overloaded method

Addcontextmenu (part partname, string name)
Role

Add a right-click menu to the part.


Parameters

partname The part name.
name The name of the feature.


return value

No return value

Example
'add a record part right-click menu "New"
Me.addcontextmenu (recording parts,"New")

Original address: http://bbs.delit.cn/thread-256-1-1.html

Reprint please indicate the source;

Author: metric Technology http://www.delit.cn



Platform like how to implement a Windows-like right-click menu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.