Page 1 of 1

Toolbarbutton.Image

Posted: Wed Feb 13, 2013 8:11 pm
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.

Re: Toolbarbutton.Image

Posted: Fri Feb 15, 2013 11:19 pm
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.