cancel
Showing results for 
Search instead for 
Did you mean: 

Show and Hide an image when the button is Clicked

Former Member
0 Kudos

Hi all,

this is my Scenario:

i have a button and an image which is not visible at the beginning. both of them are on a form view. i want to show the image when the button is clicked.

what i did:

1. created a button with custom action named 'show'

2. drag the out port of the form view and created a data store with a boolean field (named 'hidden') which its default value is set to true.

3. set the event name of the link between the form view n data store to 'show', and feed the Assigned Value for the 'hidden' field as false.

4. right click my image in layout tab > properties, check the Hidden checkbox and enter the condition as

STORE@hidden

but it seems doesnt work.

Any idea? any mistakes i did??

Thanks in advance.

Regards,

kityein

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

It will work if you have done exactly what you have written, what is the problem that you are getting?

Regards,

Rk.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi kityein,

It is working fine for me. Did you add image to the image control? Check whether it is set or not. What problem you've faced when you click the button whether the image is not displayed or image control not displayed?

Regards

Basheer

Former Member
0 Kudos

Hi all, yea the way i did is correct, just that i place the image at an area which is not within the visible area in the window.

it works it works