Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Resize a text Box

Hi all,

i'm new with qlikview and i need to resize a textbox object containig an image when i activate it.

I need also to move the textbox to the centre of the sheet.

Can someone help me?
Thanks alot

Andrea from Italy

4 Replies
Not applicable
Author

Hi

Can you give us a little explanation to why you want to do this because I have a feeling that there might be alternative ways to go here...

/Fredrik

Not applicable
Author

I show in a textbox a small image cause i've many chart inside the sheet so te textbox is small.

I want the user to click (or activate) the text box and then it will be resized and moved to the centre of the sheet to see better the detail on the picture.

Hope it's clear enough.

Bye

Andrea

Not applicable
Author

i've solved the problem

attacched the solution.

sub move_to_new_pos
dim tbl
dim tblrect
set tbl = Application.ActiveDocument.GetSheetObject("TX01")
set tblrect = tbl.GetRect
tblrect.Left = 100
tblrect.Top = 100
tblrect.Height = 480
tblrect.Width = 576
tbl.SetRect(tblrect)
end sub


sub move_to_old_pos
dim tbl
dim tblrect
set tbl = Application.ActiveDocument.GetSheetObject("TX01")
set tblrect = tbl.GetRect
tblrect.Left = 1490
tblrect.Top = 4
tblrect.Height = 48
tblrect.Width = 48
tbl.SetRect(tblrect)
end sub

marcelo_7
Creator
Creator

Came here looking for the solution to just resizing textobject and you gave it to me. Thanks!