Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm trying to move specific objects via a macro.
if vObject.GetObjectId = "Document\CH06" then
set vObject = Objects(i)
pos.left = 238
pos.top = 79
vObject.SetRect(pos) ' vObject.SetRect pos
end if
next
On the Qlikview desktop works fine, but on the server the object dont go to the new position(it moves, but not to the right position). I cann't understand why.
After running the macro the new position of my object is: left=76 & top=25
Has anyone tried something like this?
Diogo
Are you using the Ajax client ?
If so then macros do not in the Ajax Client.
Best Regards, Bill
Various things will not work in the AccessPoint. There is a nice list of things you shouldn't expect to work as intended/at all in the portal, amongst them the manipulation of screen elements in the Ajax client ("Layout operations").
Read all about this in the QlikView Reference Manual, Chapter 80 Using Macros in QV Documents on the QV-Server.
Best,
Peter