Le 18 mars 07 à 11:26 Matin, Aliacta a écrit: >> On Mar 18, 2007, at 12:21 AM, Karen wrote: >> >>> I just found out that, on OSX at least, the Listbox.MouseDown event >>> fires when one clickes on a listbox which has listbox.enabled = >>> false >>> >>> I did NOT expect that to happen ... is that a bug or is my >>> understanding faulty? > > I would be miffed if the opposite were true. There's certainly a > case for both approaches, but I'd like to be able to > enable/disable/hide/show/resize/etc. a control just by hovering the > mouse above it or clicking on it or what not.
As far as I know, a disabled control should NOT receive events (it may be in the Apple Guide Lines). To detect a MouseDown event on a disabled control, an appropriate method of doing this is to put a canvas over the disabled control. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
