Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [SOLVED] ComboBox Style property
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] ComboBox Style property

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] ComboBox Style property
    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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2008 at 10:06am
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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2008 at 7:51pm
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

Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2008 at 9:14pm
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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 1:22am
Hello,
 
Thanks, we implemented recreate trick also for 12.0.1.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 11:46am
Woow! This is more than a plus for the CJ combobox.

thanks!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.187 seconds.