|
|
|||||||
I am trying to create an unsorted ComboBox using KiXGUI v1.1 Build 42 with KiXtart v4.10, however the items in the Combobox are always sorted alphabetically regardless of the autosort value. The code fragment is as follows: $cboCAPrfx = $frmMain.addcombobox("cboCAPrfx",$fraConnect.Left + 72,$fraConnect.top + 16,160,66) $cboCAPrfx.autosort = 0 $cboCAPrfx.additem("No Prefix") $cboCAPrfx.additem("Current Domain") $cboCAPrfx.additem("Current Workstation") $cboCAPrfx.listindex = 0 ... and the resulting ComboBox displays: Current Domain Current Workstation No Prefix ... rather than the expected: No Prefix Current Domain Current Workstation Is this a bug or I am calling the autosort property incorrectly? As usual, any help is much appreciated. Rod. |
||||||||
|
|
|||||||
I've tried and tried with a sample script to "disable" Autosort, but can't seem to get it. |
||||||||
|
|
|||||||
Thanks for trying it out Chris. All I can think is that contrary to the manual, the autosort property only works with a listbox, although I haven't tested it out yet. Alex, please can you put us out of our misery |
||||||||
|
|
|||||||
I tried it with listbox as well during my testing, but it still sorted. I'll e-mail Alex and point him to this thread. Oh, here's the script I tested with... code:; ListboxUse.k2k |
||||||||
|
|
|||||||
Many thanks for answering that question Chris. I am also having issues with the SetAsDefault property, and the ChangeSysMenu & ShowFileBrowserXXXX methods (when stating a starting directory), but I'll save those problems for another day Rod. |
||||||||
|
|
|||||||
Guys, List and Combo boxes have the autosort style by default. Also, i forgot something as the autosort property is working as read only (sig!) |
||||||||
|
|
|||||||
alex, can you or have you allready updated the documentation for kixGUI? there were a example which didn't work with 4.10 cheers, |
||||||||
|
|
|||||||
Ok guys, you catch me, i surrender Kixtart, kixtart, what's new since 4.02 ... What the heck !!! starting to remove dust from kixgui source directory ... launching vb ... tipitipitip ... |
||||||||
|
|
|||||||
Thanks Alex, we appreciate your support. BTW as per my earlier reply, if I do find other issues with KiXGUI, is it better to air them on the KiXtart Bulletin Board or e-mail you directly? Rod. |
||||||||
|
|
|||||||
clarke, I would like to say something to that too... questions about kixGUI directed to board reduces alex'es workload as he does not have to answer everyone of them. on the other hand, as he has been pretty much of the board lately, the answer time may increase. I have taken this method with kixforms: I post question to board. if no answers come up and shawn does is not active, I post the question via e-mail. cheers, |
||||||||
|
|
|||||||
Sounds fine to me, btw my first name is 'Rod' not 'Clarke' |
||||||||
|
|
|||||||
I know. it just is that loved child has many names and your displayname is rclarke. quess, the real name is then rod clarke? or just clark? are you the buddy who flyes in the skyes and is known also as superman? cheers, |
||||||||
|
|
|||||||
My full name is Rodney Clarke, but most people call me Rod rather than Rodney. Superman, I am definitely not, but I have been known to wear my underpants on the outside |
||||||||
|
|
|||||||
Waaaaayyyyy too much information. |