may I suggest to add a tiny bit of functionality to the inputselect() command?
Parameter: [style=1]
Enhancement: Add the option to add a separator (defaults to: "|") behind the number followed by path & filename for an icon resource.
Like:
Code: Select all
"1|<xypath>\Icons\Users.ico"
"2|D:\Tools\Webserver\server.exe"
"4|<xydrive>\.Icons\management.ico"Code: Select all
$AllUsers = "Peter|Paul|Mary";
$SelectedUser = inputselect("Select the username:", $AllUsers, , "1|<xypath>\.Icons\usermanagement.ico");Tia,
highend
XYplorer Beta Club