Hi Chris,

In ULC 6.1 you will need an extension of the concrete button.

    public static class ULCMyRadioButton extends ULCRadioButton {
        private ULCIcon fRolloverSelectedIcon;

        public ULCMyRadioButton(String string) {
            super(string);
        }

        public void setRolloverSelectedIcon(ULCIcon rolloverSelectedIcon) {
            fRolloverSelectedIcon =
(ULCIcon)setStateUI("rolloverSelectedIcon", fRolloverSelectedIcon,
rolloverSelectedIcon);
        }

        protected void uploadStateUI() {
            super.uploadStateUI();

            setStateUI("rolloverSelectedIcon", null, fRolloverSelectedIcon);
            setStateUI("rolloverEnabled", true);
        }
    }

This API is available in ULC 6.2.

Thanks and regards,

Janak

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of chris idr
>Sent: Thursday, November 01, 2007 9:00 PM
>To: [email protected]
>Subject: [ULC-developer] rollover selected icon not set able?
>
>
>can anyone tell me how i set the RolloverSelectedIcon for the
>ULCAbstractButton in 6.1?
>
>please help
>
>chris
>
>
>_______________________________________________
>ULC-developer mailing list
>[email protected]
>http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to