Combo-box enhanced input field

Features wanted...
Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Combo-box enhanced input field

Post by Horst »

eil wrote: 21 Jul 2021 15:24 +1 i'd wish ico, png, exe could be supported as icons for anything all over XY. :roll:
++1
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

mazot
Posts: 42
Joined: 20 Apr 2020 23:19

Re: Combo-box enhanced input field

Post by mazot »

+1 from me .
From the moment that png , jpg was introduced I have loved the idea of using aforementioned instead of ico.
Even though I personally think it is lazy. (I have used it once)There are a couple of progs ,(including portable), that will easily
convert and resize from aforementioned to ico.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

eil wrote: 21 Jul 2021 15:24 +1 i'd wish ico, png, exe could be supported as icons for anything all over XY. :roll:
All over? Which places would that be exactly?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

highend wrote: 21 Jul 2021 13:40 [icon] is nice but it would be a lot nicer if it'd support files as well (png, ico, exe)... :mrgreen:
Next beta. 8)

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Combo-box enhanced input field

Post by highend »

Thanks but one thing is still missing: XY internal icons :titter:

E.g.: 8:=":sync"
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

Drop the ":" and you're there. :)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

Well, it would probably be more consistent to require a ":" here, right?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Combo-box enhanced input field

Post by highend »

In all other places internal icons are prefixed with ":"...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

Next beta...

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Combo-box enhanced input field

Post by jupe »

@Don: I just wanted to confirm a couple things, historically input "topic" text was left aligned, now it is always indented the width of the icon, even when not using the icon param, is that correct? It leaves a little less room for text, and the alignment looks strange. Also the icon doesn't apply to multiline input, correct?

eg. input('<<< Gap here', '^^^ This doesn''t align');

Also the icons are now missing from all your internal dialogs, eg. Quicksearch (F3), I assume because of the colon prefix now being required.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

:bug: & :bug:
Fixes coming.

eil
Posts: 1617
Joined: 13 Jan 2011 19:44

Re: Combo-box enhanced input field

Post by eil »

admin wrote: 22 Jul 2021 09:51 All over? Which places would that be exactly?
basically i meant anywhere where ico files can be used, like say:
-Tabs icons via Rename
-scripting commands like: inputselect(), popupmenu(), seticons()
-Custom File Icons
-Catalog :tup:
Win 7 SP1 x64 100% 1366x768

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Combo-box enhanced input field

Post by highend »

I'd love to see working icon support for scripts in the hamburger menu...
Especially because it refers to the description / syntax of popupmenu / popupnested

Code: Select all

::Caption for a script;e "Hello";:sync
Executes the e correctly but doesn't show the chosen icon but interprets the third field as another script command (and shows a standard icon like it is done in CFAs)

I know this is a bit tricky because the field separator is a ";" but this could always be circumvented by just using a load "<script>"; command (when you need more than one script command) in the second field/position

So if you could add a tweak to allow this kind of behavior would make me a happy... camper :party:
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

eil wrote: 24 Jul 2021 19:49
admin wrote: 22 Jul 2021 09:51 All over? Which places would that be exactly?
basically i meant anywhere where ico files can be used, like say:
-Tabs icons via Rename
-scripting commands like: inputselect(), popupmenu(), seticons()
-Custom File Icons
-Catalog :tup:
- Tabs icons via Rename :tup:
- inputselect() :tup:

It's not really applicable to popupmenu(), seticons() and Custom File Icons. Too slow or too much effort.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Combo-box enhanced input field

Post by admin »

highend wrote: 24 Jul 2021 20:13 I'd love to see working icon support for scripts in the hamburger menu...
Especially because it refers to the description / syntax of popupmenu / popupnested

Code: Select all

::Caption for a script;e "Hello";:sync
Executes the e correctly but doesn't show the chosen icon but interprets the third field as another script command (and shows a standard icon like it is done in CFAs)

I know this is a bit tricky because the field separator is a ";" but this could always be circumvented by just using a load "<script>"; command (when you need more than one script command) in the second field/position

So if you could add a tweak to allow this kind of behavior would make me a happy... camper :party:
I came up with this solution:

Code: Select all

    + SC popupmenu/popupnested enhanced: Experimentally now you can add custom 
      icons to script items in your scripted menu, identified by ° as icon 
      marker.
      That makes 3 possible syntaxes for script items (here assuming 
      sep_item=";"):
        ::Script              (here Script is also used as Caption)
        ::Caption;Script
        ::Caption;°Icon;Script
      Example:
        popupmenu("::Caption for a script;°:sync;e 'Hello'");

Post Reply