Hi
I am trying to see where the missing code would go to get Visual Form
Inheritance working in the Designer. Or at least make some headway to
get it working. What would be involved to get it to work?
First things first, I would need to familiarise myself with the
internals of the Form Designer. Could someone give a brief
description of what happens when Lazarus loads a .lfm file and maybe
mention the related unit files the work happens in?
I would imagine it goes something like this:
1) Parse the .lfm file into memory (I guess into some tree
structure). Who does this, TReader?
2) Run through the tree structure and create each component in turn
2.1) setting the appropriate properties from what was read in the .lfm file
2.2) tell the component to paint itself.
3) keep repeating 2) until the designer has worked through the whole
tree structure.
4) show the designer form.
As far as I remember, someone has already worked on the parsing of the
.lfm file to not complain when Visual Form Inheritance was used. My
mailing list archive doesn't go that far back, so can't remember who
that was.
Regards,
- Graeme -
--
There's no place like 127.0.0.1
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives