![]() |
ComboBox ListIndex |
Post Reply ![]() |
Author | |
soda ![]() Newbie ![]() Joined: 08 March 2009 Location: Iran Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 08 March 2009 at 3:39pm |
Hi friends.
i use combobox in a sample project with this info : one combobox one flatedit one timer and set combobox autocomplete =true and then in the form_load : combobox1.additem "11" combobox1.additem "22" combobox1.additem "33" combobox1.additem "44" ok timer interval= 15000 and this code in timer1_timer : msgbox combobox1.listindex and run project , first focus on combobox . ok type 2 from keyboard and then press tab . the combobox text change to 22 but after some seconds msgbox appears with listindex=-1 !!!! why ? thanks for help |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, You have press Enter or remove Focus to update ListIndex.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
soda ![]() Newbie ![]() Joined: 08 March 2009 Location: Iran Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
OK. thanks
i will test it . |
|
![]() |
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 |