Disabling Single Switch & Setting Switch Width |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
Posted: 07 May 2008 at 6:39pm |
Hi,
The status bar switch pane is proving very useful for my application, so thank you! I have a couple of questions (requests if these options aren't available): 1) Is there a way to disable an individual switch instead of the whole pane? In my app, sometimes a switch will be applicable, and sometimes not. I could just remove the switch when it's not applicable, but I think it would be better to disable it. 2) Is there any way to increase the width of the switches? I would like to be able to use a 16x16 icon but it is too big for the current background image for the switch buttons. Setting an adequate height (via the StatusBar.MinHeight property) is easy, but changing the width of the switch buttons eludes me. Thanks a lot! |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I want to add something to your list of requests.
* It would be nice when xtpThemeRibbon is applied that the switch background would be the same on both sides.
* When a switch is clicked you can not check the switch. I believe this feature has to be implemented to have a "switchbox" that will look like for example MS Word.
Thanks in advance
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Thanks, we will check what can be done for future... Aaron, btw switch can be checked/or not - its part of your code.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Oleg,
I don't see where I can check the switch??? Please provide a WORKING sample.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
Hey Aaron,
Instead of setting a Checked property for an individual switch item, you set the Checked property to the ID of the item that you want checked for the StatusBarSwitchPane object. Here's an example:
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Our RibbonSample shows it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Thanks Oleg
I was totally going in the wrong direction Now I'm clear with the property, this is a nice option to have.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
Just wondering if there was any word on whether the following might be implemented for the next release:
In particular, #1 would be very useful for my application. Thanks. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
Any chance of:
1) Disable individual switches 2) Set the switch width (for using bigger icons)? for 12.1? |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |