Hi all,
I am trying to implement some window pin down functionality similar to the one described here:
http://forums.smartclient.com/showthread.php?t=10209&highlight=HeaderControl
The icon toggle (on/off) there is implemented via handlers. Since I can set setShowSelectedIcon(), e.g.
and the docs says
I wonder where I can actually set the icon image for the selected icon. Any ideas or good practices?
Thanks
fatzopilot
I am trying to implement some window pin down functionality similar to the one described here:
http://forums.smartclient.com/showthread.php?t=10209&highlight=HeaderControl
The icon toggle (on/off) there is implemented via handlers. Since I can set setShowSelectedIcon(), e.g.
Code:
final HeaderControl pinDown = new HeaderControl(HeaderControl.PIN_DOWN); pinDown.setActionType(SelectionType.CHECKBOX); pinDown.setShowSelectedIcon(true);
setShowSelectedIcon:
If using an icon for this button, whether to switch the icon image when the button becomes selected.
If using an icon for this button, whether to switch the icon image when the button becomes selected.
Thanks
fatzopilot
Comment