[SOLVED] ComboBox Style property |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 15 June 2008 at 11:26pm |
It seems that the CJ ComboBox ignores changes to the Style property when placed on a UserControl (and at runtime). Is there any way that we can change this property at runtime, or is it technically impossible?
Thanks. EDIT: SOLVED IN 12.0.1. Thanks! |
|
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 Jason,
I believe it's not possible to change the style in runtime. Once I wanted to change the style too and I have looked on the internet for solutions but nothing found... But maybe the CJ development team can change this and break trough the brickwall Microsoft has built
|
|
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: 1355 |
Post Options
Thanks(0)
|
Hey Aaron,
I kinda figured it was an MS limitation since the same problem exists with their control...I hoped there was a way around it. The CJ TextBox control allows you to change the Multiline property of a TextBox at runtime where the MS one does not (for example), so I was holding out hope that the same might be possible for the Style property. It's not that big a problem, I just have the extra overhead of placing 1 ComboBox of each style on my user control and managing visibility based on my exposed Style property. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
vbaccelerator did it by destroying and recreating the underlying window in new style (whilst caching and reapplying list items, selection etc).
maybe cj can add this at some point. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Thanks, we implemented recreate trick also for 12.0.1.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
Woow! This is more than a plus for the CJ combobox.
thanks! |
|
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 |