Listbox Sorted property - bug? |
Post Reply |
Author | |
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
Posted: 09 October 2017 at 11:15am |
About listbox Sorted property, the help file says:
But if we set the Sorted property to True at runtime, the whole listbox will cleared. |
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello giblra,
Since the base of the listbox is derived from the MFC version the Sorted property can only be set at design-time. This is the same behavior as the MS version. The listView control allows you to change the sorting order and so on at runtime. I guess the only bug here is that the property is not read-only like the MS version. However we added recreation of control on setting this property so listBox is new and you should add items.
Regards, Oleksandr Lebed |
|
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 |