style = 512 for inputselect()

Features wanted...
klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

OK, thanks Don.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

Hi Don, thanks for the option to remove the filter box when using SC inputselect (and I didn't have to remind you later as you asked). It is working as far a eliminating the filter box, but it isn't relinquishing the horizontal space to allow a narrower inputselect box. Any chance to eliminate the OK and cancel boxes as well at some point. Thanks.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: style = 512 for inputselect()

Post by admin »

Not sure what you mean. How small do you want it?

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

What I mean is, I had the box as narrow as possible at the time prior to the beta. When I added style '8192' with the new beta, I wasn't able to minimize the width any narrower than it was before. The width setting on the capture is '350' and changing the value any amount below that doesn't decrease the width (e.g.,250 or 300). So other than the filter box being eliminated I wasn't able to decrease the width any more than it was before with the filter box.

Code: Select all

   $idx = inputselect(,replace($captions, "|:", "||:"),<crlf>, 1+128+8192+1024, , '350', '540', 'Catalog Menu');
inputselect capture 350 width.JPG
inputselect capture 350 width.JPG (37.52 KiB) Viewed 1694 times
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: style = 512 for inputselect()

Post by admin »

You should be able to reduce it to 140 pixels (which looks like a bug: too narrow, I will fix that) width:
Attachments
2018-10-10_200627.png
2018-10-10_200627.png (3.53 KiB) Viewed 1692 times

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

OK Don, so in my example above the SC inputselect parameters are correct, but it wasn't working properly at least for that case?

Concerning the 'OK' and 'Cancel boxes that I mentioned, I ask only because if you use SC inputselect for a menu, for which it works great, in most cases if you use a mouse we can double-click a menu item or highlight it and hit enter, but we don't need to see the 'OK' and "'Cancel' boxes and it does make for a cleaner menu.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: style = 512 for inputselect()

Post by admin »

klownboy wrote:OK Don, so in my example above the SC inputselect parameters are correct, but it wasn't working properly at least for that case?
You could not make it smaller? Cannot reproduce this here.

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

Re: style = 512 for inputselect()

Post by highend »

Doesn't work here as well on 0020...

Code: Select all

inputselect("test", "a|b|c|d", , 8192, , 150, 200);
8192.png
8192.png (2.33 KiB) Viewed 1670 times
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: style = 512 for inputselect()

Post by admin »

Ah, you mean the startup size! But you can make it smaller after startup, right?

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

Re: style = 512 for inputselect()

Post by highend »

Sure but the whole discussion was about the initial size (I guess) :whistle:
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: style = 512 for inputselect()

Post by admin »

Well, probably. That would explain how it went... :mrgreen: Anyway, next version will be better.

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

Yes sorry I'm awake now, I was referring to the startup size. I'm not sure how or why you would change the box size after startup. :?
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: style = 512 for inputselect()

Post by admin »

How: By dragging the window border... not sure if you are familiar with this technique. :P

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: style = 512 for inputselect()

Post by klownboy »

admin wrote:By dragging the window border.
Ok, so that's what you meant. I was thinking you were talking about some scripting way of changing it afterwards...it was early. Yes, I'm familiar with dragging borders and I can narrrow it down to (see capture) or even further, but I was hoping to have it look like that on startup.
inputselect capture.JPG
inputselect capture.JPG (33.47 KiB) Viewed 1640 times
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: style = 512 for inputselect()

Post by admin »

It will in the next version.

Post Reply