Need popup toolbar icons at 16 with parent at 24 |
Post Reply |
Author | |
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 27 March 2009 at 1:33pm |
I am trying to create a primary toolbar that the user can change their icons from small to large. This works great. However, I have a popup toolbar on the primary bar that shows up too big when the icons are set to large (24). So I am trying to keep the parent toolbar at large (24) and the baby popup toolbar at (16), but nothing I do changes the popup bar.
I have tried the following on the popup toolbar
SetIconSize 16, 16
SetPopupIconSize 16, 16
LargeIcons = False
If the parent toolbar is set to large icons (24), then the popup toolbar is always (24).
How do I get my popup toolbar to be small (16), and keep the parent bar large (24)?
ActiveX commmandbars
version 13.0.0
|
|
ActiveX 13.2.1
Strider |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Call SetIconSize for this popup.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
I have tried SetIconSize on the commandbar of the popup both at startup and in the InitCommandsPopup, but it doesn't work:
This is how I am initializing the bar to begin with: CommandBars.Options.SetIconSize False, 16, 16 CommandBars.Options.SetIconSize True, 24, 24 CommandBars.Options.SetPopupIconSize 16, 16 CommandBars.Options.LargeIcons = True then when I create the toolbar through commands in the code, I am specifically setting the icon size for the popup: PopBtn.CommandBar.SetIconSize 16, 16 Then I set it again in the InitCommandsPopup event: CommandBar.SetIconSize 16, 16 I feel like I must be missing something obvious ?? ActiveX 13.0.0 |
|
ActiveX 13.2.1
Strider |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Afraid your are right :(
SetIconSize for popup toolbar didn't work if you switch to Large Icons. Its fixed for next release.
Maybe you can now change Options.LargeIcons = False and set CommandBar.SetIconSize 24,24 for your main toolbar ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
It does work to set the iconsize without the largeicons option :)
I am not sure which way I will handle it though. We are saving the state of the toolbars. Without the largeicons option in the xml, the setting is not remembered when it is reloaded. Activex 13.0.0 |
|
ActiveX 13.2.1
Strider |
|
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 |