Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Combobox lose ListIndex
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combobox lose ListIndex

 Post Reply Post Reply
Author
Message
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Topic: Combobox lose ListIndex
    Posted: 13 June 2008 at 9:07am
Hi,
 
I have a combobox with AutoComplete = true and Style = DropDown (xtpComboDropDown). When I choose an entry in the combobox with the keyboard and go to the next control on the form with the tab key, the property ListIndex is not set correctly.
 
 
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 9:37am
do u have sample code?
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 9:44am
1. Open the VB-Sample and start it.
2. Type "2" in the Combobox. The second entry is selected.
3. Change focus with the tab key. The sample write in the textbox the ListIndex property. The value of this property is -1.
 
 
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 9:56am
yes you are right... the correct listindex is not being returned.

i have made a workaround, maybe this could help

uploads/20080613_095638_TestListIndex.zip
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 10:32am
Thank you for help. It works.
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 10:45am
glad to be of help.

but you should send cj an issuetrack so that this maybe fixed in the next release.
Back to Top
origos View Drop Down
Groupie
Groupie
Avatar

Joined: 28 March 2008
Location: Mexico
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote origos Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 3:13am
How do you send an issuetrack to cj ?
I thought posting here was enough

Enjoy life. Everything is OK...
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: 20 June 2008 at 5:26am
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
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: 20 June 2008 at 2:32pm
Hi,
I'm not sure that it have to change ListIndex. :-(
 
Think you can try xtpComboDropDownList style instead to be sure user can enter only values from list. With xtpComboDropDownList  if use press "1" combo will select "1 Item" and change ListIndex property.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.188 seconds.