Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
another question. I am just working on a qlikview tool, that needs to create new textboxes at defined positions.
For that i am using the following macro:
set frame = expressionstextbox.GetFrameDef
pos = frame.Rect
pos.Top = v_expression_position_top * 3.125
pos.Left = v_expression_position_left * 3.125
pos.Height = 251 * 3.125
pos.Width = 41 * 3.125
expressionstextbox.SetFrameDef frame
1. Why do i have to multiply my pixels by 3.125 to get the correct pixel position?
2. It seems to me that there are min and max positions required for creating textboxes and placing them.
When i use Width < 41 Pixels the macro ist creating a textbox with exact 41 pixels. Smaller is not possible.
When i use Height > 154 Pixels the macro ist creating a textbox with exact 154 pixels. Larger is not possible.
Has anyone ever had the same problem? Is there a workaround for creating Textboxes smaller than 41 Pixels or larger than 154 Pixels?
Thanks a lot!
I tried my macro in Qlikview 10 and there everything works fine! It seems to be a problem in Qlikview 9 only.
I tried my macro in Qlikview 10 and there everything works fine! It seems to be a problem in Qlikview 9 only.
I have the same Issue using QV11 SR2. Does anyone know why?
If if multiply for 3.125 it works all fine, otherwise the pixels are completly messed up.