procedure Form1.savePanelComps;
var
i: word
begin
 For i := 0 to Form1.Componentcount-1 do
   If Form1.Components[i].parent = MyPanel  
     WriteComponentRes(whatever..)
end;

--- heromed <[EMAIL PROTECTED]> wrote:

> I have managed to save and restore all components on
> a form (including
> the form itself) using WriteComponentRes and
> ReadComponentRes.
> 
> I would like to save and restore ONLY components
> that are owned by a
> TPanel or TScrollBox.
> 
> How do I do that ?
> 
> 
> 
> 
> 
> 



                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to