on 11-01-2007 7:46 AM
Hi,
I am developing one application. It contains two views. First view contains different UI elements and an image elemnt. When I click the image it goest to next view. Then how to do this? Have to write separate action? Please suggest me.
Regards,
Mastan.
Hi Mastan
(1)First you have to paste your required image in the component.
(2)In the navigator Tab in your project Go to src->mime->Components-> componentFolder Paste your image here by ext. .png.
(3)Insert either LinkToActionUIElement or Button UIElement
and define the action for it.
(4)Now in the property of UI Element as the name of your image, or you can browse it to your component image and select the name.
(5)And in the test property give one space otherwise the action name will appear on the UI.
(6)If your outbound plug from First view is named as "ToSecondView"
Then call following line in the action.
wdThis.wdFirePlugToSecondView();
Warm Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mastan
1) Copy the Images into "<project>\src\mimes\Components\<package>"
2) Createa <b>LinkToActionUIElement</b>
3) Under <b>imageSource </b>property of LinkToActionUIElement mention the name of the image
PLEASE NOTE A POINT HERE.THE NAME MUST BE CASE SENSITIVE AND MENTION EXTENSION ALSO [ex: india.gif ]
4) Now onAction() methond use
wdThis.wdFirePlug<second view's plug>();
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.