command-variable icon indicating copy to clipboard operation
command-variable copied to clipboard

pickStringRemember: defaultSelect (alternative to addLabelToTop)

Open rioj7 opened this issue 1 year ago • 2 comments

issue emerged from #96

l-inc: addLabelToTop: the name puts an emphasis on the visual side-effect rather than on the actual functional feature it brings. A possible alternative to this would be a property called defaultSelect (or alike) that takes a sequence of 0 or more labels. Then it could work consistently for both single-pick and multi-pick lists. It would bring the specified option to the top for single-pick lists and it would select 0 or more check-boxes for multi-pick lists.

rioj7 avatar Nov 11 '24 17:11 rioj7

will this also be included in the file.pickFile to maybe show the last picked file or put some emphasis on chosen files?

Qazorr avatar Nov 12 '24 15:11 Qazorr

@Qazorr a nice feature, I have created a new issue for this.

An alternative is to use Example 6 from pickStringRemember. But this does not allow you to modify a previous multi file pick.

rioj7 avatar Nov 13 '24 10:11 rioj7