How to Place ActiveX component on 1C:Enterprise Form?

1C:Enterprise platform integration capabilities and techniques

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

How can I place an ActiveX component on the managed form? For example Flash Player. I could insert it using HTML Template, but can’t handle it’s events. How to use Flash and manage it from 1C:Enterprise and receive it’s events?

 
#2
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

There are "Form"->"Insert ActiveX" in russian ver sion(when the form is active)

 
#3
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Can't see that. Is if for managed form?

 
#4
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

Yes.

 
#5
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Maybe I'm blind... Can you please provide a screenshot?

 
#6
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

Sorry. That was on old version. I have example with HTML for googlemap agregation on form. Maybe it help you.

Code
SysInfo = New SystemInfo;
If Find(SysInfo.UserAgentInformation,"MSIE") > 0 Then
      Map = Items.HTMLString.Document.parentWindow;
Else
      Map = Items.HTMLString.Document.defaultView;
      Map.IE = false;
EndIf;
Point = Items.HTMLString.Document.getElementById("beacon");

AddHandler Point.onscroll, SrollEvent ;

 
#7
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

i think "AddHandler Point.onscroll, SrollEvent ; " is what You need.

 
#8
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

Event code:

Code
Procedure ScrollEvent(args)
   ObjectType   = GISMap_OverlayObjectTypes[Map.lastevent_objecttype];
   EventType = GISMap_OverlayEventTypes[Map.lastevent_name];
   If Map.lastevent_args = Undefined Then
      args= Undefined ;   
   Else
      args= New Strunture("Lat,Lng", Map.eval("lastevent_args.latLng.lat()"), Map.eval("lastevent_args.latLng.lng()"));
   EndIf;
   ///...

 
#9
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Interesting idea, thank you, Cocos!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.