Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

non-visual components and Form Designer

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Looking at the *.lfm files I can see that non-visual components have Left and Top properties stored. But those non-visual components (descending from TComponent) doesn't actually have a Left and Top published property. Left and Top are only introduced in TControl. So how does this work?

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 7 lines
Hi, Looking at the *.lfm files I can see that non-visual components have Left and Top properties stored. But those non-visual components (descending from TComponent) doesn't actually have a Left and Top published property. Left and Top are only introduced in TControl. So how does this work?

DefineProperties.

Mattias

Reply by email

Vannus
to Mattias Gaertner
Looking at the *.lfm files I can see that non-visual components have Left and Top properties stored. But those non-visual components (descending from TComponent) doesn't actually have a Left and Top published property.

How does it compare with *.dfm files?

The perfectionist in me would consider this a minor bug :) -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100521/ef48cee2/attachment-0001.html>

Reply by email

Mattias Gärtner
to Vannus

Zitat von Vannus :

Show quoted text 8 lines
> Looking at the *.lfm files I can see that non-visual components have > Left and Top properties stored. But those non-visual components > (descending from TComponent) doesn't actually have a Left and Top > published property. How does it compare with *.dfm files? The perfectionist in me would consider this a minor bug :)

This bug was inherited from dfm files.

DefineProperties is a Delphi invention.

Mattias

Reply by email