C ceaser Active Member Licensed User Nov 30, 2008 #1 Hi Erel What would be nice was if I could hide certain items on a menu and not just disable them. In my program certain functions are not accessible and others are depending on whether the user has a Engineering Level, Total Station or GPS. Thanks Michael
Hi Erel What would be nice was if I could hide certain items on a menu and not just disable them. In my program certain functions are not accessible and others are depending on whether the user has a Engineering Level, Total Station or GPS. Thanks Michael
agraham Expert Licensed User Longtime User Nov 30, 2008 #2 On the desktop MenuItems have a Visible property that you could set and clear with the Door library to alter your menu structure. Unfortunately this property does not exist in the Compact Framework so while this works on the desktop this doesn't work on the device. On both device and desktop you can remove MenuItems using the Door library and can save them in an object array and even add them back in a different place. Attachments Menus.sbp Menus.sbp 1.7 KB · Views: 554 Last edited: Nov 30, 2008
On the desktop MenuItems have a Visible property that you could set and clear with the Door library to alter your menu structure. Unfortunately this property does not exist in the Compact Framework so while this works on the desktop this doesn't work on the device. On both device and desktop you can remove MenuItems using the Door library and can save them in an object array and even add them back in a different place.
agraham Expert Licensed User Longtime User Dec 7, 2008 #3 Checkout this http://www.b4x.com/forum/additional-libraries/3484-mainmenu-manipulation-library.html#post19815
Checkout this http://www.b4x.com/forum/additional-libraries/3484-mainmenu-manipulation-library.html#post19815