ActiveX loads after AnimationStart?

Join Date
May 2016
Location
St. Louis
Posts
1
FT View SE 8.2
Trying to pass a Me.TagParameters.Item(1) to a string to the web browser activex control in the AnimationStart sub routine in VBA, however on display it never seems to use the parameter being passed to navigate command or call the navigate command for that matter....

I can tie the navigate code to a button and it works like a champ.

So I'm wondering if anyone else has successfully used activex controls with display parameters in the AnimationStart???

Many thanks!
TR
 
Welcome to the forum!

I haven't tried exactly what you're describing, but the AnimationStart sub, as you seem to have discovered, runs before anything else on the screen has been properly initiated. I have found limitations with that sub as well.

Ultimately, you're going to have to find a different way to trigger that sub. You could do something like placing a transparent button over the whole screen, which when pressed, runs your VBA sub and then turns itself invisible. So the first time the screen is touched/clicked, your sub runs, and then from then on everything happens as normal.

Not ideal, obviously, because it makes the first screen touch/click ineffective, and depends on someone touching the screen to activate it. But that might give you some ideas as to different ways you could approach it.
 

Similar Topics

Good day All, I am getting Error 1 when I try to open trends on my client. I tried to resolve the problem by creating .cab files but that did not...
Replies
2
Views
1,536
I'm testing the ability to make a custom ActiveX control for PVP7 applications to be able to write data out in an XML format. With my simple...
Replies
1
Views
705
I found a list of activex controls in view studio for which I simply cannot find any information on online. I don't know what they do. For example...
Replies
1
Views
985
Hey all, First post! I am trying to embed a web browser into my application to enable us to watch live feed of our AXIS IP Camera. The problem is...
Replies
0
Views
939
Hello, In FT View Studio ME (v12); When I go to restore a runtime file currently in use on a PV+7 I receive the error in the attached photo. It...
Replies
3
Views
2,165
Back
Top Bottom