When I load the program, I will also load some default settings, like custom toolbars e.a.
But I don't give the user the possibility to change the toolbars.
How can I do that?
Is it possible to "lock" the toolbars
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Is it possible to "lock" the toolbars
It is not possible in current realization, but it will be added to next build.
The special property "View.LockAllBars" (boolean).
The special property "View.LockAllBars" (boolean).
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Is it possible to "lock" the toolbars
When will the next release be available?
Re: Is it possible to "lock" the toolbars
Typically every six weeks - so mid October.
Re: Is it possible to "lock" the toolbars
Hi,
oleCtrl.SetProperty "View.LockAllBars", 1, 0
Afterwards each time the users rightclicks somewhere in the *empty* bar area a menu pops up with the item "Lock/unlock" all Command Bars". So the user has the possibility to change the toolbars again. My next idea to add the line:
oleCtrl.SetProperty "General.DenyAllContextMenus", 1, 0
has no effect in the bar area. Is there another trick, or is "LockAllBars" currently incomplete ?
regards
Charly
Using the build 40.7 "LockAllBars" seems to work at first sight only:Vasyl-Tracker Dev Team wrote:It is not possible in current realization, but it will be added to next build.
The special property "View.LockAllBars" (boolean).
oleCtrl.SetProperty "View.LockAllBars", 1, 0
Afterwards each time the users rightclicks somewhere in the *empty* bar area a menu pops up with the item "Lock/unlock" all Command Bars". So the user has the possibility to change the toolbars again. My next idea to add the line:
oleCtrl.SetProperty "General.DenyAllContextMenus", 1, 0
has no effect in the bar area. Is there another trick, or is "LockAllBars" currently incomplete ?
regards
Charly
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Is it possible to "lock" the toolbars
In this case you can:
1. oleCtrl.SetProperty "View.LockAllBars", 1, 0
2. oleCtrl.SetProperty "Commands[""LockAllBars""].State", "Offline", 0 //turn off command "LockAllCmdBars"
Issue with this context menu will be fixed in the next build.
1. oleCtrl.SetProperty "View.LockAllBars", 1, 0
2. oleCtrl.SetProperty "Commands[""LockAllBars""].State", "Offline", 0 //turn off command "LockAllCmdBars"
Issue with this context menu will be fixed in the next build.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Is it possible to "lock" the toolbars
Thanks !Vasyl-Tracker Dev Team wrote:In this case you can:
1. oleCtrl.SetProperty "View.LockAllBars", 1, 0
2. oleCtrl.SetProperty "Commands[""LockAllBars""].State", "Offline", 0 //turn off command "LockAllCmdBars"
Issue with this context menu will be fixed in the next build.
after a small change from:
"Commands[""LockAllBars""].State"
to:
"Commands[""LockAllCmdlBars""].State"
the popup item is disabled now.
BTW. Please notice - when you´ll fix the rightclick popup appearance - that a left doubleclick in a empty bar area currently also opens the "Lock/Unlock All Command Bars" popup.
regards
Charly
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Is it possible to "lock" the toolbars
Ok. It will be fixed also.
Thanks.
Thanks.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.