Toolbarbutton.Image

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

Toolbarbutton.Image

Post by djrikki »

Hi Andreas,

The Toolbarbutton.Image only has 'I' applicability, is this due to a limitation in MUI?

I'd like to be able to change the button image during run-time, e.g. button changes to a picture image if a picture is selected in a dirlist etc...

Will this better served by implementing 'support for dynamic creation of MUI objects'? Any thoughts on a possible workaround?

FInally, how are you reporting suggestions to the people behind MUI on AmigaOS? Can you PM an email address or a URL? Many thanks.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5848
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Toolbarbutton.Image

Post by airsoftsoftwair »

djrikki wrote:Hi Andreas,

The Toolbarbutton.Image only has 'I' applicability, is this due to a limitation in MUI?
It's a limitation in TheBar.mcc. MUI itself doesn't support toolbars.
I'd like to be able to change the button image during run-time, e.g. button changes to a picture image if a picture is selected in a dirlist etc...

Will this better served by implementing 'support for dynamic creation of MUI objects'? Any thoughts on a possible workaround?
No. You have to talk to the TheBar.mcc authors and convince them to add this functionality to TheBar.mcc. You can hide buttons, though. Maybe this can be used as a workaround, i.e. hiding and showing buttons as necessary.
FInally, how are you reporting suggestions to the people behind MUI on AmigaOS? Can you PM an email address or a URL? Many thanks.
That's difficult because MUI has now split off into three branches. It is developed independently on OS4, MorphOS, and AROS. There's no code exchange between them. On OS4 the current maintainer is Thore Böckelmann, who is also maintaining TheBar, YAM, and NList classes. Check the docs of these classes for contact information.
Post Reply