style = 512 for inputselect()
Re: style = 512 for inputselect()
OK, thanks Don.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440
Re: style = 512 for inputselect()
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
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
Not sure what you mean. How small do you want it?
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
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');
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
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 (3.53 KiB) Viewed 1692 times
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
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.
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
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
You could not make it smaller? Cannot reproduce this here.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?
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
Doesn't work here as well on 0020...
Code: Select all
inputselect("test", "a|b|c|d", , 8192, , 150, 200);
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
Ah, you mean the startup size! But you can make it smaller after startup, right?
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
Sure but the whole discussion was about the initial size (I guess)
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
Well, probably. That would explain how it went... Anyway, next version will be better.
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
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
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: style = 512 for inputselect()
How: By dragging the window border... not sure if you are familiar with this technique.
FAQ | XY News RSS | XY Twitter
Re: style = 512 for inputselect()
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.admin wrote:By dragging the window border.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440