Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone. I was wondering if it is possible to show/hide an image based on the value selected in a listbox. If so, would someone please explain?? Thank you
You could add an action on the list box field, that would update a variable based on selection. Then you could use that variable in the show/hide condition of the image.
Hi thnkgreen,
sure it is possible. With almost every type of chart or object, you can define a condition for visibility, usually on the "layout" tab of the properties_dialog.
Use the GETFIELDSELECTION([field]) function to query the selection the user has made in a specific field.
HTH
Best regards,
DataNibbler
Hello green,
one way to do this is to create a text object, insert the image as background and then create the layout expression.
Hope this helps..
hi,
its possible.
it the layout tab select Conditional and put following expression.
if(ListBox_FieldName = 'ABC',1,0)
-Nilesh
Gopal, the layout expression is the portion that I am having trouble with
Please find the attached app.
Go to document properties and set trigger for the field you want as shown below
now the value u want ie the selection is in the variable , use the variable in the layout tab of the chart like
if($(a)='name you wish to comapre',1,0)
-Sundar
Hi,
Please find attached file.
Hello thnkgreen,
Take a Text Object insert background image instead of Color.
go to layout tab in Show make it conditional put 'getselectedcount(yourfieldname)>0'
it will solve your problem
Regards
Kiran