Multiple CommandbarControls |
Post Reply |
Author | |
jamesblast
Groupie Joined: 15 June 2005 Status: Offline Points: 52 |
Post Options
Thanks(0)
Posted: 05 July 2005 at 4:40am |
Hello, I want to allow the softwareuser, to configure their menus as they want. there are two problems with it. *the user could add 2 controls of the same ID to a toolbar. Then I cant set this control to enabled=true/false in code, cos the second control is not reachable. i use this code to do so: ------------ For each bar in CommandBars set menuitem=bar.findcontrol(,id,,true) menuitem.enabled=true next ---------- what could i do about that? *after adding a control, and end the costumation, all the toolbarControls are enabled. why is that? how can I avoid this? I got another question. how can I go through all the controls (ActiveMenu, Commandbars (Toolbars), DesignerControls) to enable/disable/show/hide them by ID performantly and short in code? thank you! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |