Board index » delphi » Streaming components
Tom Alexander
![]() Delphi Developer |
Tue, 06 Jan 2004 02:11:10 GMT
Streaming components
I am, at run time, allowing the user to create a custom form to be used by
others to edit data. I am streaming a custom panel from a design form after components are selected by dragging and dropping fields from a treeview on the same form. When the field is dropped, the application creates the appropriate control, applies a static text label to go with the control, and places it at the cursor coordinates on the custom panel. The custom panel sits on a scroll panel and has constraints of MaxWidth and MaxHeight. As each controls is placed on the custom panel, I am setting the control's parent to the custom panel. Breaking in the code and checking this for the created control confirms this to be correct. When I, at run time, open a new form (the one on which the user will TIA! |