Stop combobox from sorting

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
davesexcel
Posts: 5
Joined: 02 Jan 2019, 13:23
Contact:

Stop combobox from sorting

02 Jan 2019, 13:38

Hello,
First post, the combobox keeps displaying as a sorted list, and not in the order the list was written.
Image

Code: Select all

WS.AddText("T_Depth", TX, 30, TW, TH, "Depth",,,,,, "Right")
WS.AddCombobox("C_Depth", EX, EY, EW,, "9 1/2""|11 7/8""|14""|16""|18""",,,, "I" Row)
How do I get the combobox to show in the list order and not in a sorted order?
gregster
Posts: 8988
Joined: 30 Sep 2013, 06:48

Re: Stop combobox from sorting

02 Jan 2019, 14:38

Is this Excel-Com-related?
davesexcel
Posts: 5
Joined: 02 Jan 2019, 13:23
Contact:

Re: Stop combobox from sorting

03 Jan 2019, 11:21

The code eventually opens a workbook template, right now the ws is a variable

Code: Select all

WS := MyTabs.TabList[2].Workspace
davesexcel
Posts: 5
Joined: 02 Jan 2019, 13:23
Contact:

Re: Stop combobox from sorting

09 Jan 2019, 11:35

Thanks, it I found a line where the default was to sort.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 242 guests