>From: Tom Benson <[EMAIL PROTECTED]> >Date: Wed, 14 Feb 2007 13:24:04 +1100 > >have you tried > >button.hide >button.show > >after you change the property? > >- it might force an update....
Yes, I already tried button.visible = false/button/visible = true with refreshing; even in a timer. But to no avail. Thanks for answering. >On 14/02/2007, at 1:15 PM, Carlo Rubini wrote: > > > In a MetalWindow (composite ON) I try to change by code the hasMenu > > property of a BevelButton from 0 to 1 (and viceversa); but the > > redrawing fires only when I click the button. > > > > I tried refreshing the button, calling updateNow, disabling/ > > enabling the button, making it visible/invisible, creating a new > > bevelBtn, subclassing it, and what not: nothing to do. > > > > Up to now, my workaround is to have a second bevelbutton with > > hasMenu = 1, and hiding/showing the relevant button according to my > > needs. > > > > This behavior affects only OS X.4 builts. Classics and Windows > > behave correctly (probably because Composite does not affect such > > builts). > > > > RB 5.5.5 > > > > Any suggestion welcome. Thanks, -- Carlo _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
