Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

List Box Conditional Show

How can I make a List Box ("Function") not to be visible when a specific Chart ("CH01") in a container is displayed.

That is, what is the code I need to enter under List Box Properties/Layout/Show, Conditional?

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

I think you have to avoid container because there is no function to fetch the current container object.

So you can use txt objects with actions. In the attached .qvw sample, listbox for country is displaying only when chart with sales by country is selected.

Is it that you are trying to achieve?

View solution in original post

4 Replies
vkish16161
Creator III
Creator III

Could you please provide more background?

sergio0592
Specialist III
Specialist III

Hi,

I think you have to avoid container because there is no function to fetch the current container object.

So you can use txt objects with actions. In the attached .qvw sample, listbox for country is displaying only when chart with sales by country is selected.

Is it that you are trying to achieve?

settu_periasamy
Master III
Master III

Hi,

If you want this in Sheet Leveel,

Maybe try this in Layout -> Conditional

=GetActiveSheetId()='Document\SH01'


Anonymous
Not applicable
Author

Hello Jean-Baptiste,

Thank  for your advice! I tested your attached QV example, and it worked just fine.

I will now rebuild my app and instead of containers go for text boxes (with setting variables as actions) for each chart that should be displayed. And also use variable conditional show for the list boxes.

Again, thank you!

BR/Hans Kaminsky