LucieLastic
Programmer
hi
I have a form created at runtime. Combos are added (at runtime) to the form depending of whats required.
The form is then 'assigned' to a TabSheet by setting it's Parent := tabsheet.
In my interface, there's a copy button and all I know is the Parent tabsheet. I want to be able to get all the child controls on the tabsheet and copy their information to a new form containing a new tabsheet. Also, the owner of all the controls is a datamodule.
Components and ComponentCount don't work as Tabsheet comes up as having 0 components, I think because all the controls I want are overlayed on a form.
Is it possible?
One more question, is is possible to sendMessage to a Datamodule as a datamodule doesn't have a handle?
lou
I have a form created at runtime. Combos are added (at runtime) to the form depending of whats required.
The form is then 'assigned' to a TabSheet by setting it's Parent := tabsheet.
In my interface, there's a copy button and all I know is the Parent tabsheet. I want to be able to get all the child controls on the tabsheet and copy their information to a new form containing a new tabsheet. Also, the owner of all the controls is a datamodule.
Components and ComponentCount don't work as Tabsheet comes up as having 0 components, I think because all the controls I want are overlayed on a form.
Is it possible?
One more question, is is possible to sendMessage to a Datamodule as a datamodule doesn't have a handle?
lou