The Owner is the Form the Parent is the TabSheet
At the moment it is looking too buggy to use Frames - I am going to start looking at creating the lot dynamically!
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 
----- Original Message -----
Sent: Friday, October 03, 2003 2:13 PM
Subject: RE: [DUG]: Frames

I do this kind of this all the time and have never had a problem. Mind you I added my own constructor to the frames to stop an issue with window handles - ActiveX related.
 
Q. Who is the owner of the frames?
 
eg.
 
  FFrames[ ftMedicalDetails1 ]      := TMedicalDetailsFrame.CreateOwnerParented( Self, Self.Handle );
  FFrames[ ftMedicalDetails2 ]      := TMedicalDetailsFrame.CreateOwnerParented( Self, Self.Handle );
M
-----Original Message-----
From: Paul Mckenzie [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 08:56
To: Multiple recipients of list delphi
Subject: [DUG]: Frames

I have an Application in which I create and delete TabPages dynamically - the Tab Pages contain a Frame which I create at Run Time.
To do this the Name of the Frame must be set to ''.
I can set the name to '' at design time (Object Inspector) - but I cannot save it ... each time I re-open the Frame the Name is set to the class name.
How can I fix this "bug" !!!
 
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 

Reply via email to