Recent

Author Topic: Where is LazActiveX?  (Read 5419 times)

axtens

  • Newbie
  • Posts: 6
Where is LazActiveX?
« on: August 03, 2013, 04:56:22 pm »
According to the wiki, there's supposed to be a package called LazActiveX which can be added using the Package Install/Uninstall tools. I'm using a "fresh off the internet" version of Lazarus 1.0.10 and I cannot see this package in the that menu. Where can it be found?

Kind regards,
Bruce.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Where is LazActiveX?
« Reply #1 on: August 03, 2013, 05:03:52 pm »
I don't see it there either in 1.0.10.

It's there in Lazarus trunk version.

I suspect somebody forgot to backport the packaging from the development/trunk version of Lazarus to 1.0.10.

If you'd like to, please raise a bug report so it can be fixed. Apart from that,
downloading the files: http://svn.freepascal.org/svn/lazarus/trunk/components/activex/
compiling the package (Package/open package file, compile, install, then allow lazarus to rebuild)
should work.
Or you can use a trunk version of Lazarus, which is actually fairly stable these days.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4632
  • I like bugs.
Re: Where is LazActiveX?
« Reply #2 on: August 03, 2013, 06:31:49 pm »
It's there in Lazarus trunk version.
I suspect somebody forgot to backport the packaging from the development/trunk version of Lazarus to 1.0.10.

Generally new features are not backported. Only bug fixes are.
Please use trunk if you need a feature which is only in trunk.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Where is LazActiveX?
« Reply #3 on: August 03, 2013, 07:04:17 pm »
People using Oracle db connectors on win64 and mssqlconn users might have a different opinion on that ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Jorg3000

  • Jr. Member
  • **
  • Posts: 80
Re: Where is LazActiveX?
« Reply #4 on: October 12, 2025, 06:37:16 pm »
12 years later ...
Hi!
I use Lazarus 3.8 FPC 3.2.2 on Win64 and can't find LazActiveX in OPM. I want to use TActiveXContainer.
Where can I get it?
« Last Edit: October 12, 2025, 06:39:01 pm by Jorg3000 »

Handoko

  • Hero Member
  • *****
  • Posts: 5487
  • My goal: build my own game engine using Lazarus
Re: Where is LazActiveX?
« Reply #5 on: October 12, 2025, 06:47:50 pm »
You don't need OPM to install it, LazActiveX package is bundled in default Lazarus installation. To enable it:

Lazarus main menu > Package > Install/Uninstall Packages > In the right panel, select "LazActiveX 0.1" > Click "Install Selection" > Click "Rebuild IDE" > Continue > wait some minutes, then your Lazarus will restart

Jorg3000

  • Jr. Member
  • **
  • Posts: 80
Re: Where is LazActiveX?
« Reply #6 on: October 12, 2025, 07:52:55 pm »
Ah there. Thank you!  :)

I selected it, clicked "install selection", then "Rebuild IDE" and it seemed to work ... but I can't access it.
When I look in that Packages window again, it says "status: selected for installation" - but buttons are grayed out, I can only uninstall it. Strange.

I don't understand the window.
Thanks anyway!

jamie

  • Hero Member
  • *****
  • Posts: 7308
Re: Where is LazActiveX?
« Reply #7 on: October 12, 2025, 09:54:46 pm »
you shouldn't need to install anything, it comes by default out of the box for windows installs.

This only works on Windows and GUI apps because it's a window etc.

Jamie
The only true wisdom is knowing you know nothing

Handoko

  • Hero Member
  • *****
  • Posts: 5487
  • My goal: build my own game engine using Lazarus
Re: Where is LazActiveX?
« Reply #8 on: October 13, 2025, 03:20:55 am »
... but I can't access it.

You can find the component in the ActiveX tab, see the attached video.

Enabling the component is easy but using it isn't easy. I only used it once. Years ago I wrote a small pdf cataloger and it needed to have pdf viewer. I used LazActiveX + Adobe Reader 7, it worked as long as the user's computer have Reader 7 installed.

There are several ways to use ActiveX in your Lazarus programs. I used Type Library:
Lazarus main menu > Tools > Import Type Library

Here is the documentation of LazActiveX:
https://wiki.freepascal.org/LazActiveX

CM630

  • Hero Member
  • *****
  • Posts: 1527
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Where is LazActiveX?
« Reply #9 on: October 13, 2025, 08:33:51 am »
You can place the ActiveX control from the controls tabs, section ActiveX. Or simply type “active” in the components palette, see the image attached.
Maybe the easiest way to use ActiveX is “Early binding”: https://wiki.freepascal.org/LazActiveX#TActiveXContainer_early_binding
Лазар 4,2 32 bit (sometimes 64 bit); FPC3,2,2

 

TinyPortal © 2005-2018