Not sure how difficult this would be to implement, but I've thought for a while that it would be useful if inputselect() had an extra style bitfield (or was just always enabled by default) to allow inline rename of the items, currently I find myself calling an inputselect followed by an input multiline to make any required changes, which is an extra step that would be nice to be able to skip.
Just to clarify I don't mean actually perform a rename on the items (if they were files), I just mean rename the content of each inputselect item, for example like is possible in the CFA, CFI, List Management dialogs.
SC inputselect new style to enable inline rename
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC inputselect new style to enable inline rename
Sorry, that's not really easy to do. And it's not what inputselect is expected to handle.
FAQ | XY News RSS | XY Twitter
Re: SC inputselect new style to enable inline rename
I only requested it because I thought that feature was an inbuilt part of inputselect since it is used throughout XY in that way, and so you'd be able to enable it for scripting without extensive effort, obviously I was wrong. Anyway thanks for replying.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC inputselect new style to enable inline rename
Not sure what you mean. I currently can't find a single dialog with a list where you can rename the list items and return a renamed selected item.
FAQ | XY News RSS | XY Twitter
Re: SC inputselect new style to enable inline rename
I wasn't really thinking of using it for 1 selected item, it would be more useful in checkbox selections, the example I used initially was the CFA dialog, where you make the edits you want, eg below is Notepad being "inline renamed" (ie data changed without closing dialog):
granted you don't popup a list of the selected items afterwards, but the list is still saved after editing, so I'd assumed in the scripting version it would just pass on the modified text instead of the original, but like you say that may be difficult to achieve, so I can just stick to my current workaround involving 2 dialogs.
granted you don't popup a list of the selected items afterwards, but the list is still saved after editing, so I'd assumed in the scripting version it would just pass on the modified text instead of the original, but like you say that may be difficult to achieve, so I can just stick to my current workaround involving 2 dialogs.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC inputselect new style to enable inline rename
OK, I see. Still, I think it is not intuitive to allow inputselect to change the choices it offers.
FAQ | XY News RSS | XY Twitter
Re: SC inputselect new style to enable inline rename
With a flag, why not? It's the users / scriptors choice then...
One of my scripts helped you out? Please donate via Paypal