on 05-03-2008 8:39 PM
Dear Experts
I have created IWDLinkToAction element dynamically
i need to set a image to this linkToAction UI
Image is in Mime folder
How to set the image to this linkToAction UI Element
Thanks
Jay.
If this image does not need to change during the lifetime of this LinkToAction, you can use setImageSource(filename) after creation as already described, or you can assign the image to the action itself. In that case the link gets the image from the action automatically. This is useful if several elements (buttons, menu items) are attached to the same action.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jay,
Try this:
IWDLinkToAction action = (IWDLinkToAction)view.createElement(IWDLinkToAction.class,"action");
action.setImageSource(<image URL or filename>);
Thanks n Regards,
Jhansi Miryala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.