Tony

go to
http://www.delphizine.com/features/1999/11/di199911bt_f/di199911bt_f.asp

But I think you should be using SetStringProp

Regards Neven

N.K. MacEwan B.E. E&E


----- Original Message -----
From: Tony Richardson <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Wednesday, 23 February 2000 08:44
Subject: [DUG]: RTTI in Delphi 5


> Hi All,
>
> Has anyone successfully used the SetVariantProp() procedure in D5?  It
> seems to change boolean values ok but anything else, colours, text etc
> fails.  For instance:-
>
> SetVariantProp(Components[ I ],'Visible',True)
>
> works for an edit box, but
>
> SetVariantProp(Components[ I ],'Text','Hello')
>
> sets the text to null.
>
> Any insight would be much appreciated
>
> TIA
>
> Tony
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to