To the best!!
From: Augusto (augusto_at_bennersaude.com.br)
Date: 12/30/03
- Next message: Didier Cabalé: "Re: how to pass a const record into a procedure"
- Previous message: Kevin: "Re: Incorrect Parameter error while printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 13:02:18 -0300
Hello all!! I'm here testing you and helping others to improve their delphi
skills with your help.
I've created an app in which I added a Automation Object.
In the com I've put a Method pointing to a procedure that was in my app
main's form for tests purposes.
This procedure receives a parameter and set the visibility of a form
component.
I call this procedure from a msscriptcontrol and execute it normally. It
works fine.
What I want to do, is to expose all my app objects through COM so I can
change every componente property and access all their methods.
I know it's easy by creating all the properties and method in the interface
of the Automation Object.
But my wish is to do it dynamicaly. I want to read the properties and
methods from a dataset and create them at runtime.
Suppose I have a form and it's clear (No controls) I will access a
table(DefinitionsTbl) in my database and put a record like that:
Name Caption Color Hint
Class
----------------------------------------------------------------------------
----------
edit1 CustID white Set customer
identification TEditBox
Ok! When I start my app, I will read this table and create this component at
runtime, and also will expose it and all his properties (only those above)
and methods (onclick, onchange, etc..) through my COM interface. So I can
handle it through MSScript Control.
Did I make myself clear?
Any Idea, or documentation about it?
I'm creating an application generator.
Thanks in Advance
Augusto
- Next message: Didier Cabalé: "Re: how to pass a const record into a procedure"
- Previous message: Kevin: "Re: Incorrect Parameter error while printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|