![]() |
Combobox lose ListIndex |
Post Reply
|
| Author | |
mlatona
Senior Member
Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Topic: Combobox lose ListIndexPosted: 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.
|
|
![]() |
|
younicke
Senior Member
Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 June 2008 at 9:37am |
|
do u have sample code?
|
|
![]() |
|
mlatona
Senior Member
Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
younicke
Senior Member
Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mlatona
Senior Member
Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 June 2008 at 10:32am |
|
Thank you for help. It works.
![]() ![]()
|
|
![]() |
|
younicke
Senior Member
Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
origos
Groupie
Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
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... |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
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.... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |