Project

General

Profile

Ext::Toolbar and Buttons

Added by Gianluca Sorrentino about 14 years ago

I've been searching for a way to remove a button from a Toolbar with no results.

Does a workaround exist? The best way i've found is just to hide the button.

Is there the plan to develop this capability in the future?

Beyond this i've tried to disable a WAnchor in a Toolbar with no success: the link works anyway and the icon remains coloured. Is this normal?

Thanks for any help.

Best Regards

Gianluca


Replies (1)

RE: Ext::Toolbar and Buttons - Added by Wim Dumon about 14 years ago

Gianluca,

Doesn't it work if you simply delete the button? It should remove itself from the toolbar then.

I am not sure if a 'disabled anchor' is something I have seen before. Have you? Disable has only effects on widgets that can be disabled: buttons, line edits, calling disable on a WContainer will disable all elements in the container, ...

Regards,

Wim.

    (1-1/1)