Page 4 of 5

Re: style = 512 for inputselect()

Posted: 14 Jul 2018 22:56
by klownboy
OK, thanks Don.

Re: style = 512 for inputselect()

Posted: 10 Oct 2018 18:47
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.

Re: style = 512 for inputselect()

Posted: 10 Oct 2018 18:52
by admin
Not sure what you mean. How small do you want it?

Re: style = 512 for inputselect()

Posted: 10 Oct 2018 19:56
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

Re: style = 512 for inputselect()

Posted: 10 Oct 2018 20:07
by admin
You should be able to reduce it to 140 pixels (which looks like a bug: too narrow, I will fix that) width:

Re: style = 512 for inputselect()

Posted: 10 Oct 2018 20:21
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.

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 10:46
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.

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 10:49
by highend
Doesn't work here as well on 0020...

Code: Select all

inputselect("test", "a|b|c|d", , 8192, , 150, 200);
8192.png

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 10:54
by admin
Ah, you mean the startup size! But you can make it smaller after startup, right?

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 10:58
by highend
Sure but the whole discussion was about the initial size (I guess) :whistle:

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 11:06
by admin
Well, probably. That would explain how it went... :mrgreen: Anyway, next version will be better.

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 12:06
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. :?

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 12:40
by admin
How: By dragging the window border... not sure if you are familiar with this technique. :P

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 14:22
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

Re: style = 512 for inputselect()

Posted: 11 Oct 2018 14:40
by admin
It will in the next version.