On 09/07/07, Marc Weustink <[EMAIL PROTECTED]> wrote:
> Placing a form in another form at runtime is sometimes more useful
> than frames since forms have more properties and events than frames
Then frames should be extended. Having more porperties is not an issue,
having more usefull properties is.
The problem with frames, and Borland mentions this issue as well, is
when does it fire a OnCreate event. Borland could never find a
reliable time, so instead removed the OnCreate event completely. So
whenever you used frames you have to create your own Initialization
and Finalization methods and call them manually before and after you
use the frame.
Frames don't have a OnCreate event like forms do. Using Forms at
runtime gives you a uniform/consistent design.
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives