![]() |
Sorted Property in ComboBox |
Post Reply ![]() |
Author | |||
giro21k ![]() Newbie ![]() ![]() Joined: 08 July 2008 Location: Colombia Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 30 January 2009 at 2:04pm |
||
Good Days:
In ComboBox if add items and activate sorted property dont sort.
p.e.j.
combo.additem "A"
combo.additem "Hola"
combo.additem "Archivo 4 [Depen]"
combo.sorted=true
any idea
Thanks
|
|||
![]() |
|||
Albert1 ![]() Groupie ![]() ![]() Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
![]() ![]() ![]() ![]() ![]() |
||
choose between:
1) set sorted=true property at design time
2) use code like this:
ComboBox1.Sorted = True
ComboBox1.EnableMarkup = False Both solution are
![]() |
|||
![]() |
|||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
||
Hi,
yes, Sorted have to be set before you add items.
|
|||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|||
![]() |
|||
Albert1 ![]() Groupie ![]() ![]() Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
![]() ![]() ![]() ![]() ![]() |
||
Oleg, try it ...
wrong sort:
correct sort:
simply a bug
![]() |
|||
![]() |
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 |