- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Application
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#321 - TAListView: code generation funny
$ListView1 = GUICtrlCreateListView("|", 128, 56, 257, 289, BitOR($GUI_SS_DEFAULT_LISTVIEW,$LVS_NOCOLUMNHEADER))
was generated by Koda, and does not work with 2 columns: the second column shows as blank.
$ListView1 = GUICtrlCreateListView(" | ", 128, 56, 257, 289, BitOR($GUI_SS_DEFAULT_LISTVIEW,$LVS_NOCOLUMNHEADER))
does work.
Koda then generated:
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 50) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 200)
Apparently AutoIt needs a space before and after the |.
I consider this to be an AutoIt bug, but Koda is the servant of AutoIt, so ...
If AutoIt ever fixes this bug, Koda code generation will still be OK with “<space>|<space> “.
.au3 and .kxf files attached.