![]() |
SUGGESTION: "Empty" RibbonBar Groups |
Post Reply ![]() |
Author | |
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() Posted: 13 October 2006 at 5:02pm |
In 10.1.1 when a RibbonGroup's controls were all set with their Visible property to false, the RibbonGroup itself was automatically not displayed in the RibbonBar.
With 10.3.1, this is no longer the case. I kind of liked how this was handled previously.
![]() Cheers.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
now you can set Group.Visible property to false.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
If you have multiple Tabs, and multiple Groups, each Group having multiple Controls which are frequently hidden/unhidden, it can get kind of difficult to manage using the Visible property. You can iterate through these settings as follows:
For i = 0 To g_Group.Count - 1
If g_Group.Item(i).Visible Then 'do something End If Next Our problem is that the Control's Visible property is only relevant if the Tab is selected which contains the Group which contains the Control (???). In other words, if the Group and related Controls are under a Tab which is not currently selected, the Visible property in the above iteration will return False even if you have set it to True.
Just thought it might be a good idea to provide an option to hide groups where all associated controls are hidden...
Thanks, Oleg.
|
|
![]() |
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 |