Author Topic: How do I get my ActiveX control  (Read 218 times)

BuddyRobbins_Linquest

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
How do I get my ActiveX control
« on: June 15, 2019, 12:17:46 am »
I had to create a custom UI for Sparx.  The recommended method is to use an ActiveX control and call the Repository.AddTab() method.
I am limited because adding new software, to include ActiveX controls, is strictly forbidden.
I decided to use a previously installed web-browser control, and populated the document with my web-page UI.

Since the scripting doesn't handle event-handlers, I decided to fire another script to extract the data from the tab/web-browser/web page.
The problem is, while I can call Repository.IsTabActive() or Repository.ActivateTab(), I can't find the call that will return the tab, or specifically, the activeX web browser control.

Any ideas out there?

Thanks in advance,
-Buddy Robbins

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9387
  • Karma: +258/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How do I get my ActiveX control
« Reply #1 on: June 15, 2019, 01:48:03 am »
It's the AddTab() or AddWindow() method that returns the ActiveX component.

I don' think there's another way to get it.

Geert