[Lazarus] Designer issues with specialized TFrame classes.
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 5 09:53:56 CET 2025
On 2/4/25 23:37, Fabio Luis Girardi via lazarus wrote:
> Hi everyone!
>
> I'm creating a new control for PascalSCADA that will mimic a functionality
> of other engineering software in Lazarus. Lazarus has a similar feature
> (Frames). Knowing this, I started from TFrame, trying to specialize it to
> get new functions, but in this way, I'm doing something wrong in the
> process.
>
> What I did:
>
> 1) Created the specialized TFrame class with the desired properties.
>
> 1. TFaceplateFrame = class(TFrame)
> 2. private
> 3. ffaceplatetag: TPLCStruct;
> 4. protected
> 5. procedure setfaceplateTag(AValue: TPLCStruct);
> 6. published
> 7. property FaceplatePLCTag: TPLCStruct read ffaceplatetag write
> setfaceplateTag;
> 8. end;
See
https://wiki.freepascal.org/Extending_the_IDE#Forms
>[...]
Mattias
More information about the lazarus
mailing list