[Gambas-user] Question on ComboBox

Willy Raets willy at ...2734...
Tue Oct 7 12:13:22 CEST 2014


On di, 2014-10-07 at 11:57 +0200, Willy Raets wrote:
> When using a combobox, with a lot of elements in there you get a screen
> full. To me this is NOT very user friendly.
> 
> 
> 
> I was wondering why it is not allowed to set the MaxLength property for
> a list that is Read Only?
> Is there a specific reason, or can it be implemented  into Gambas for
> Read Only lists as well?
> 
> I want users to select from a ComboBox, pre filled with data from a
> table (a long list and NOT very user friendly to see on screen). I do
> not want them to be able to type their own stuff into the combobox , so
> I need to set it to Read Only.
> 
> 
> Problem now is that MaxLength property is no longer possible to set!!
> 
> So, it is either:
> - a short list (desired) and user can input into combobox (not desired)
> - a long list (not desired) and user can't input into combobox (desired)
> 
My message accidentally got send when editing it.
I still wanted to add this:

I know the length of the list of ComboBox was discussed here on the
mailing list recently (like a week or so ago) and suggestions like
create your own ComboBox where suggested.

But now I stumble into a situation where it becomes a problem to me too,
so hence the question.

Would it not be more logical that Gambas IDE supports limiting the
length of the list (read only or not) out of the box (unless there are
of course problems with the underlying toolkit to get the job done)?

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org








More information about the User mailing list