Can I use this for a dispatch object, like an Outlook Contact Item, I
should have mentioned this before. I would like to send it FirstName and
have it return the value of the MyContact.FirstName property.

>Regards
>Jason Coley
>Manawatu Software Solutions
>

 -----Original Message-----
From:   Nahum Wild [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, 21 December 2000 2:41 p.m.
To:     Multiple recipients of list delphi
Subject:         RE: [DUG]:  Dynamic call for Object Properties?

Yep, but only to published properties.

TObject has a method called 'FieldAddress' that when passed a property
name
as a str will return a pointer to it.  The trick being that it has to be
a
published property, and the property has to exist other wise it will
return
nil.


BTW, anyone know the url to the WISE installation software?


Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jason L. Coley
> Sent: Thursday, December 21, 2000 14:09
> To: Multiple recipients of list delphi
> Subject: [DUG]: Dynamic call for Object Properties?
>
>
> I'm not sure whether I named the subject correctly, but what I would
> like to do is:
>
> I would like to get a objects property, by passing a function an
objects
> property name.
>
> Is this possible, and how would I go about doing such a thing.
>
> >Regards
> >Jason Coley
> >Manawatu Software Solutions
> >http://www.software-solutions.co.nz
> <http://www.software-solutions.co.nz/>
>
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
>

------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

Reply via email to