Print Page | Close Window

Combo Box

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=12024
Printed Date: 22 November 2024 at 3:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Combo Box
Posted By: Fossil
Subject: Combo Box
Date Posted: 29 August 2008 at 10:47am
Hi,

I noticed a glitch with the combo box control using style xtpComboDropDownList.  When using the keyboard to navigate the list of items by typing in the first character of the item it works fine until EnableMarkup is set to true.  Seems that EnableMarkup=True doesnt set the focus properly.

v12.0.2
VB6


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



Replies:
Posted By: Fossil
Date Posted: 29 August 2008 at 11:49am
Another issue with that is setting the .Text property will not work if EnableMarkup is True.

Thanks

Could this be fixed in the next release?


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0


Posted By: Baldur
Date Posted: 30 August 2008 at 4:39am
I think, Markup don't know, what the control should search for.
Instead of text-property you must set the listindex-property.
To know, what the corresponding listindex matches the text, you need a copy (e.g.Array, Collection) of the combobox-data.
 
It's the same as an ownerdrawn-combobox.


Posted By: Fossil
Date Posted: 30 August 2008 at 9:15am
I hear what you are saying, and I can get it to work that way. However, in my opinion, the design of the control should handle it just as if it was a standard windows dropdown.  Any Let of .Text should go thru a collection or array which would be built when .AddItem takes place.  Any Keydown/press would search in similar fashion.  I guess thats what I am asking for CJ to do, is to add that functionality in.  Any help???


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



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