[Gambas-user] ComboBox does not rise event

Benoit Minisini gambas at ...1...
Tue Apr 29 02:27:21 CEST 2008


On mardi 29 avril 2008, Pino Zollo wrote:
> Hi,
>
> I have just discovered that the ComboBox does not rise the event Change if
> ReadOnly is set to TRUE.
>
> In my application I need this event because the change can be done by the
> user or by the program itself, and I do not want that the list of values be
> changed by the user.
>
> Saludos
>
> Pino
>

Change is a TextBox event, and when a ComboBox is read-only, it loses its 
internal TextBox. Use the Click event instead.

Regards,

-- 
Benoit Minisini




More information about the User mailing list