Bruce Tulloch wrote:
> I thought I'd have a go at finding a bug I reported today:
>
>   http://www.freepascal.org/mantis/view.php?id=9676
>
> and I think I might get to the bottom of it eventually.
>
> My question here is a tangential to this...
>
> Is there any overview documentation about the architecture
> of the LCL and what the normal sequence of events is for a
> typical GUI application in general?
>
> I'm talking internally and down to the widget interface level.
>
> How closely to Delphi's VCL does the LCL correspond and how
> useful (or misleading) is Borland's documentation when trying
> to understanding LCL's internal design at these levels below
> the VCL API layer.
>
> For example, in this specific case I think the problem is
> that the TComboBox name is being rendered (by GTK) before
> the component streaming of the TComboBox has even started
> (in TWinControl.InitializeWnd).
>
> The TPanel works because its Caption is not rendered at
> this point in the LCL bootstrap sequence.
>
> However I'm not confident of this diagnosis yet because
> I don't know the normal "sequence of events" and what is
> supposed to happen.
>
> I will soldier on with the debugger to learn by example
> but if there is a source of information that might speed
> up the process and help avoid any blind alleys it would
> be most welcome :-)
>
> Many thanks, Bruce.
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>
>
>  
>
>   
You might try looking at the on-line help for the LCL. The easiest way
to get there is to put the cursor on a key-word in your editor, and
press F1. Provided yu have an internet connection, you will be taken to
a HTML document describing the item, and you should find plenty of links
to help you, for example, to trace the ancestry of a particular
component and the properties defined in the ancestors.

I don't know if this helps; please be aware that the LCL documentation
for Lazarus is still in a pretty primitive state and needs a lot of work
(do I hear offers of help?), but you can discern the underlying
structure of any components you use.

Regards - Chris

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to