Print Page | Close Window

[SOLVED] ComboBox Style property

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11042
Printed Date: 12 May 2024 at 12:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] ComboBox Style property
Posted By: jpbro
Subject: [SOLVED] ComboBox Style property
Date 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




Replies:
Posted By: Aaron
Date 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....


Posted By: jpbro
Date 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



Posted By: ijwelch
Date 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.


Posted By: Oleg
Date Posted: 19 June 2008 at 1:22am
Hello,
 
Thanks, we implemented recreate trick also for 12.0.1.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: joeliner
Date Posted: 19 June 2008 at 11:46am
Woow! This is more than a plus for the CJ combobox.

thanks!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net