The synchronization App_standard of the menu and the toolbar. SYNCHRONIZE

Source: Internet
Author: User

Initially, the menu is consistent with the State of the toolbar, but when a property is dynamically changed in the program, the toolbar does not change accordingly, so you must write the code to complete the synchronization.
Complete the synchronization by calling the following function:
App_standard. SYNCHRONIZE
It is important to note that when the following trigger are triggered, synchronization is done automatically, without manual completion.
When–new–record–instance
When–new–block–instance
When–new–item–instance
During the development of the form, we set the modifiable, removable properties of the block in the code, but the toolbars on the menu bar do not respond immediately.
For example: In When-new-record-instance, we set the block's Delete_allowed property value to Property_true. However, the Delete button on the toolbar in the menu bar is not available. If this happens, we only need to follow the code that sets the properties of the block, plus a snippet of code that solves the problem:
App_synch.menu_toolbar_sync (event);
The value of the event is: When-new-record-instance, When-new-block-instance, When-new-item-instance.

The synchronization App_standard of the menu and the toolbar. SYNCHRONIZE

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.