Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text box slide/move

Hi everyone

Is is possible for the text object (image) to slide from one position to another on a sheet depending on selections rather than hide and show.

Regards

Koushik Vutha

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Yes, you can control object position with a macro, like this one:

sub Move

set p1 = ActiveDocument.GetSheetObject("TX01")

set fr = p1.GetFrameDef

set pos = fr.Rect

pos.Left = 0

p1.SetFrame fr,true, ""

end sub

Apparently you macro will be more complex, position depending on selections

Regards,

Michael

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Yes, you can control object position with a macro, like this one:

sub Move

set p1 = ActiveDocument.GetSheetObject("TX01")

set fr = p1.GetFrameDef

set pos = fr.Rect

pos.Left = 0

p1.SetFrame fr,true, ""

end sub

Apparently you macro will be more complex, position depending on selections

Regards,

Michael