The frame would have to be compiled into a design-time package and
registered into the IDE for the property to show in OI. If that's too much
consider setting the property from the frame's parent's constructor.

An other trick I sometimes use is to place a dummy, invisible control on the
frame and set a property on that object. In your example, you may consider
placing an invisible checkbox on the frame and setting that to Checked or
Not Checked! You'll be able to do that from the OI without placing the frame
into a design-time packaged.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Martin Moore
> Sent: Wednesday, February 15, 2006 5:30 PM
> To: Borland's Delphi Discussion List
> Subject: Published properties on frames
> 
> I have a frame and am trying to add a published property, but it doesn't
> appear in the obj. ins.
> 
> Anything obvious I should know?
> 
> 
> 
>   published
>     property PeriodNotYear : boolean read FbPeriodNotYear write
> FbPeriodNotYear default = True;
>   end; // TfraLocalBusHeader
> 
> 
> 
> Ta.
> 
> 
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to