🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.borland-delphi
1 messages
1 total messages Started by KKF Thu, 08 Apr 2004 16:31
What type of objects/controls?
#121
Author: KKF
Date: Thu, 08 Apr 2004 16:31
31 lines
2903 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads