style = 512 for inputselect()
Posted: 20 Jun 2018 15:36
512 = Return all items in their current order (only useful when combined with 16, otherwise the order is always the one from the original listdata)
For example:
and inside the window you reorder them to
then inputselect(..., 2:=<crlf>, 3:=512)
would return exactly the items (with <crlf> as the separator) from the second code block
Why is this useful?
I'd write a script that makes it easier for the user to reorder his custom column entries...
And this would possibly apply to a few other things that are hard to do / tedious when done manually
I know that something like this can be achieved by using prechecked checkboxes for all entries combined with style=16 but if the user accidentally
clicks one off, the whole ship sinks...
For example:
Code: Select all
a
b
c
d
Code: Select all
a
c
b
d
would return exactly the items (with <crlf> as the separator) from the second code block
Why is this useful?
I'd write a script that makes it easier for the user to reorder his custom column entries...
And this would possibly apply to a few other things that are hard to do / tedious when done manually
I know that something like this can be achieved by using prechecked checkboxes for all entries combined with style=16 but if the user accidentally
clicks one off, the whole ship sinks...