Toolbar set ActiveObject

Discuss GUI programming with the MUI Royale plugin here
Post Reply
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Toolbar set ActiveObject

Post by djrikki » Sat Mar 24, 2018 1:58 pm

Perhaps this behaviour is possible to achieve however I haven't worked it out yet.

It is possible to set focus on an object in a Window using the ActiveObject attribute however I have not be able to set this focus on a specific Toolbarbutton on a Toolbar. Doesn't appear to be possible or I am dumb. :lol:
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI

User avatar
Posts: 3065
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: Toolbar set ActiveObject

Post by airsoftsoftwair » Sun Mar 25, 2018 11:12 pm

Window.ActiveObject obviously won't work for toolbar buttons because they aren't children of the window, only the toolbar itself is. I don't think TheBar.mcc supports setting an active button. It is only possible for buttons within a group of mutually exclusive items, see Toolbar.Active.

Post Reply