[RE: [lazarus] Components:]

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Thu Jul 15 11:53:17 EDT 1999


Nope I am working the scroll bars at the moment...



Cliff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Thursday, July 15, 1999 10:13 AM
To: lazarus at miraclec.com
Subject: Re: [RE: [lazarus] Components:]


First, lucky you in reference to your wife having friends over.  

Second, we have implemented TWinControl already and TGraphicControl
generically (I think)  I would be more than happy to allow you to open
graphics.pp and add the TCanvas, TGraphicClass, TGraphic, TPicture
TBitmapImage, TBitmap,  or whatever other class you would like.  TPaintBox
(in delphi) is in ExtCtrls.pas so I would like it in a similiar file.  Feel
free to implement that.

I believe that Cliff may be working on TCanvas (cliff?) so perhaps you
should build the TPaintBox.  Want to give it a try?



Also, how do we get the handle of the gtk widget and what can we do with it?
I haven't seen much documentation on using the handle.
Shane


>>> "John Margaglione" <jmargaglione at hotmail.com> 07/15 9:42 AM >>>
I believe that the component is the TPaintBox, and a TPaintBox has a
TCanvas.  The hierarchy looks like this:

TPaintbox
|
TGraphicControl - has the Canvas property and a virtual Paint method called
when the WM_PAINT message is called.
|
TControl

TWinControl, on the other hand, can
1.  receive focus while the app is running
2.  can contain other controls ( a TGraphicControl can not do this, or
should not do this )
3.  have a window handle (Win32 specific, but there is a gtk handle of
sorts)

We should probably implement TGraphicControl and TWinControl before doing
TPaintbox.

Now that we have a good idea of how to implement controls, we should start
updating that list of controls with names again.  We also should get a
handle on the order of precedence for the building of controls.  We have
TControl built, but we need TGraphicControl and TWinControl before we really
start hacking on the other controls.

I haven't had a chance to look at the latest work you guys have done, but my
wife has friends over tonight, which means I can hide at the computer all
night!!!

John Margaglione
jmargaglione at hotmail.com 

----- Original Message -----
From: Shane Miller <SMiller1 at stvgb.org>
To: <lazarus at miraclec.com>
Sent: Thursday, July 15, 1999 7:55 AM
Subject: Re: [RE: [lazarus] Components:]


>
>
> >>> Michal Bukovjan <mbukovjan at netscape.net> 07/15 7:12 AM >>>
> >I (one of the lurkers) could take something, but I am still unable to
compile
> >CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of
FPC
> >from CVS is somewhat complicated for me.
>
> >I think the official FPC could be updated more often, as well as beta
releases
> >of FPC.
>
>
> You could download the snapshots.  Not sure how old they are though but
they should be newer that the 0.99.12 version.
>
> >BTW, the Lazarus site is not very informative. Could someone take time
and
> >explain the basic component framework, or so ?
>
>
> That sounds like boring html stuff though!  I suppose your right though.
We could get "a bit" more indepth
> in our descriptions on the code and how we are doing things.  Thing is, we
just got a handle on it recently (if we don't change it again) so we haven't
had time.  Cliff, Michael, Peter and I are programmers, so it's obviously
not our first love, but we will get it updated.
>
> Cliff, should the Drawing widget be the TCanvas or a TPaintbox?
>
> Shane
>
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus 
>

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list