What type of objects/controls?
From: KKF (heavylite_at_o2.pl)
Date: 04/08/04
- Next message: Skybuck Flying: "Re: the garbage collector"
- Previous message: Skybuck Flying: "Re: the garbage collector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 8 Apr 2004 18:31:33 +0200
I need to create a class that will be instantiated in Delphi6 but also in
JScript (to run JScript from Delphi application I'm using MS Script ActiveX
Control).
- Do I have to create an ActiveX or OLE Automation Objects that would be
used like:
D6: xxx := CreateOleObject('registered_name');
JS: var xxx = new ActiveXObject("registered_name");
? (to be honest, I don't exactly know what are automation objects so I'm
trying to avoid dealing with 'em)
- If an ActiveX is OK tell me how to create one (using Delphi6) or give a
link.
- If not exactly, please recommend me any better solution.
The class instance will contain some info about its type, name, some arrays
or recordsets, lists, blahblah (or - it'll be some XML scructure, not
important so far).
I'd like to know how to code event handlers for such object, e.g. before
update a field, after update, delete etc.
How to do it in D6 and JScript?
The similar issue with my VCL controls.
I did some custom grids and stuff and I'd like to make their props (like
Columns, Top, Left, Visible, Enabled etc.) accessible from JScript.
How?
Thanks in advance,
Kris
- Next message: Skybuck Flying: "Re: the garbage collector"
- Previous message: Skybuck Flying: "Re: the garbage collector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|