Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Combo Box
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combo Box

 Post Reply Post Reply
Author
Message
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post Topic: Combo Box
    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
Back to Top
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post 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
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.142 seconds.