If i create components in a panel via a program file, something like:


With TDBEDIT.Create(Panel1) do begin
...
  Parent:=Panel1;
....
end;

Panel1.componentscount return the exact count of components in panel

I i put component in a panel from IDE Panel1.componentscount return always 0
All components make in IDE is child of main form, is there a solution for make them childs of specific panel without check all existing components at start in a loop ?





--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to