Enabling / disabling custom section menu items is not possible in this concept.
It is intended to use a string written in Section Attributes: Menu | Custom menu , like...:
Code:
Contacts,Reset,Filter(All|Sales|Owner|Marketing|Accounting),Navigate(First|Previous|Next|Last),Reports(High Credit Customers|Over Credit Limit|Customer List),Search,Map
...and to deal with actions by code in
Section Attributes: Custom delegates | Custom section menu.
This is quite static. You can only programatically write new string in Custom menu and refresh section.
And need to be sure that you have mentioned all possible cases in your delegate code. But, as Yvonne said, works only in desktop app.
Yes, there is no much developer control. I advice you to send ER (Enhancement Request) for prefixes which will enable/disable items.
Barry mentioned once:
The App Center and the Page Center are .rsp files that generate dynamic HTML5 / JavaScript.
you can customize these with your own background image and branding, and also
add the menu bar that you mention by reading the appcenter.rsp source code.
Well, this is not for section, but app level.
In the meanwhile, you can look at some different approaches (Herb is our pioneer).
See his videos with menus: https://www.youtube.com/watch?v=DlEHGGe00VA and https://www.youtube.com/watch?v=PGmVEP_YwrI
Here are some interesting posts:
http://www.lianja.com/community/show...and-ShowDialog
http://www.lianja.com/community/show...enus-in-Lianja
http://www.lianja.com/community/show...ange-menu-text
http://www.lianja.com/community/show...130-Popup-menu
Josip
Bookmarks