Thanks Gabriele ~ that should have been so obvious it almost hurts to think about it! Arghh!
Kai On Tue, 28 Aug 2007 08:16:49 +0200, Gabriele Santilli wrote: > > 2007/8/27, Kai Peters <[EMAIL PROTECTED]>: > >> disable: func[ butt [object!] flag [logic!]] [ >> if all [ flag butt/user-data =3D3D gray ][ alert "gray" exit ] ; >> don't=3D >> > user-data is not gray when disabled, it holds the original color. > So, you need to check if face/color is gray (or face/colors/1). > > Of course this does not work if the button was gray in the first > place, but I guess you're not doing that. > > HTH, > Gabriele. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
