Le 31/05/2014 11:49, abbat81 a écrit :
> How to prevent editing any text in a ComboBox ?
> I can do it by "ReadOnly", but at  I lose Combobox_Change Event.
> So, how to prevent editing any text in a ComboBox ?
>

Set ReadOnly to TRUE, and don't use the Change event, but the Click event.

Change event means "the text field has changed".
Click means "a element has been selected in the popup".

Sorry, all that comes from VB.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to