I useto other pascal, Its like a treeview
root --> TForm or Tdatamodule
Node -> parent always there
I mean before node create, owner(parent) created, everything finished,
loaded properties from Tform etc, its ready to work alone, then jump to
child, and if there is child jump bla bla
I understood please don't tell me, this is lazarus not "antique
Hellenic city name" :)
Thank you for explain Mattias
04-03-2014 17:37 tarihinde, Mattias Gaertner yazdı:
I now see, that you are creating the Grid as neighbor of TExLookUp.
Then my prior mail was wrong and you can use the following rules to
position the FGrid below TExLookUp:
FGrid.AnchorParallel(akLeft,0,Self);
FGrid.AnchorParallel(akRight,0,Self);
FGrid.AnchorToNeighbour(akTop,0,Self);
Keep in mind that Parent is not yet set in the constructor.
You should override the method SetParent, so that each time
ExLookUp.Parent is changed the FGrid.Parent is changed as well.
Writing a control that works in others people programs is more
complicated. You need to override more methods.
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus