That's probably because it hasn't created the component yet.
Try doing it in OnShow.
Regards,
Bevan
Ross Levis wrote:
>
> Thanks to all for the Blockwrite help. It's working well now.
>
> What is the best way to get the international TimeSeparator char in a label on a
> form at load time. I tried assigning it in the Initialisation section but that
> gives me a memory violation.
>
> Ross.
>
> ---------------------------------------------------------------------------
> 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"
--
Bevan Edwards mailto:[EMAIL PROTECTED]
Achieve Software Limited http://www.achieve.co.nz
Phone: (64-9) 444-4210 ICQ: 732011
Fax: (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
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"