forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

List Select Control - Is there a way...

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 851
Location: Morrison, CO, USA

PostPosted: Tue Oct 20, 2020 11:22 pm    Post subject: List Select Control - Is there a way... Reply with quote

I would like to use a list select to pull-down a list of options, but have limited space. The user is filling in a table with lots of other information, some manually entered. I don't see a way to keep the list select box small vertically (using the grave character "`") but have it expand the entries horizontally to present the option list when the pull-down is activated.

Using %`4.10ls leaves me with 4 characters horizontally. I should also say that this is in a %ob, if that makes any difference.

What I would like to be able to see is the 25 characters of the selection pop out and down from the smaller control.

I have tried a %el as a substitute, but there does not appear anyway to apply a forced upper case if the user enters data without it messing with the caret position and making manual entry impossible. There is an annoying display behavior that I can't seem to pin down as well (some, but not all of the %el fields are highlighted, even when they are greyed).

Looking for advice before I do something radical....

Bill
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 6590
Location: Salford, UK

PostPosted: Wed Oct 21, 2020 4:01 pm    Post subject: Reply with quote

Bill

I am not sure what you are aiming for but perhaps you should try the option [limit_height] which takes an additional double precision argument. See the help for %ls for further details.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 6590
Location: Salford, UK

PostPosted: Wed Oct 21, 2020 5:33 pm    Post subject: Reply with quote

Bill

I have looked at your post again and now I think that I understand what you are asking for.

There is only one width for a combobox. That's how Microsoft has designed it. The width of the initial box is the same as the width of dropdown part.

There is a user-draw option when using the combobox control directly and you might be able to get what you want via that route but I doubt it and that is not really and option here.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 851
Location: Morrison, CO, USA

PostPosted: Thu Oct 22, 2020 12:05 am    Post subject: Reply with quote

Paul, yeah, that's kind of what I expected. I'll explore the options and see if the user get confused or not!

Bill
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group