Skip to main content
Announcements
YOUR OPINION MATTERS! Please take the Qlik Experience survey you received via email. Survey ends June 14.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condition in position ?

Hi everyone,

I just would like to know if it is possible to set a condition to define the X-pos and Y-pos of an object ?

I haven't been able to find it anywhere..

Thanks,

Matthieu JUNIER

4 Replies
Anonymous
Not applicable
Author

Matthieu

No, I am afraid it is not possible.

Best Regards,     Bill

Anonymous
Not applicable
Author

Closest you can get to this is to have duplicate objects and then show/hide them in the different positions based on the condition. This might get very confusing if you are trying to make lots of position changes.

Not applicable
Author

hi,

You can do this by two ways:

1. Use two objects and show/hide logic.

2. Use macro to achieve this . (It won't run on ajax).

For example macro for increasing the size of object

sub cin

set obj = ActiveDocument.GetSheetObject("CH09")

  

    set fr = obj.GetFrameDef

    set pos = fr.Rect

    pos.Width = pos.Width * 1.1

    pos.Height = pos.height * 1.1

    obj.SetFrame fr,true,dummy

End sub

Not applicable
Author

Ok, I think I'll go with the show/hide logic for now.

Thank you all !