G'Day! On Wed, 18 Apr 2007, at 8:17, Dennis Birch wrote:
> On 4/17/07, Ben Blake <[EMAIL PROTECTED]> wrote: > > Thanks Ben. I want to be able to change the toggled state of a toolbar > button programmatically, without a user clicking the button. This code > does not appear to do that. > > In my tests, simply changing the .Pushed property of a toolbutton does > not changed the toggled state of a ToggleStyle toolbar button. It > appears to need a .Refresh method in order to do that, which is not > provided by the ToolButton or ToolItem class. My guess is that the > Toolbar class provides that when you click a button and invoke the > Action event. I did a bit more looking on this one and I agree that you cannot set toggle ToolButtons (even from the action event) and have them display. This works ok on Windows but not on MacOS X (can't test Linux). The bug report you referenced doesn't really cover the toggle button issue so I thought it best to create a new one: <http://www.realsoftware.com/feedback/rjcnxkbp> cya Ben _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
