[Gambas-user] Form.Enabled = False

Benoît Minisini gambas at ...1...
Mon Sep 13 00:14:22 CEST 2010


> But, what is the benefit of Enabled = False then?
> If the control or window is only partly disabled, and the user can do a lot
> of things with it?

The user should not be able to do anything with it. You decide, as you 
implement the event handler.

Native events are low level, lower than the Enabled property. But if a 
disabled control raises a non-native event, it should be a bug!

-- 
Benoît Minisini




More information about the User mailing list