![]() |
Sorted Property in ComboBox |
Post Reply
|
| Author | |||
giro21k
Newbie
Joined: 08 July 2008 Location: Colombia Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Topic: Sorted Property in ComboBoxPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2009 at 4:14am |
||
choose between:
1) set sorted=true property at design time
2) use code like this:
ComboBox1.Sorted = True
ComboBox1.EnableMarkup = False Both solution are
but working. |
|||
![]() |
|||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2009 at 6:15am |
||
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2009 at 10:32am |
||
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 |