[lazarus] CVS updated]

Peter Vreman pfvreman at wins.uva.nl
Tue Aug 17 06:13:43 EDT 1999




On Tue, 17 Aug 1999, Samuel Liddicott wrote:

> 
> 
> > -----Original Message-----
> > From: Michal Bukovjan [mailto:mbukovjan at netscape.net]
> > Sent: 17 August 1999 12:05 PM
> > To: lazarus at miraclec.com
> > Subject: Re: [lazarus] CVS updated]
> >
> >
> > BTW, does the CompStyle property need to be there?
> >
> > Since gtkint sees all classes involved, we could do instead of
> >
> > if TControl(Self).fCompStyle = csComboBox then
> >
> > this :
> >
> > if TControl(Self) is TCustomComboBox then
> >
> > In Delphi, there is no such property (CompStyle).
> 
> I am planning to change this; CreateParams.WinClassName will hold the text
> "csComboBox" that is currently held in fCompStyle.
> 
> This value will be filled by the control when when CreateParams is called.
> 
> I have:
> 
> Procedure TWinControl.CreateWnd;
> var
>   Params : TCreateParams;
> begin
>   CreateParams(Params);
>   // Params.WinClassName now contains GTK compstyle
>   { Somehow use the GTK unit to create object but I haven't looked that up
> yet }
> end;
> 
> So I think we should remove fCompStyle from the control declaration.
> 
> Could some CVS wizard let me know the chances of successfully combining my
> changes given that the CVS is now running away without me and I can't do any
> more checkouts for fear of loosing mu own changes.  Or can I somehow combine
> the current CVS and keep my own changes ready for checking in?
You can always update your sources with the CVS sources. That will patch
your sources with the changes from CVS. Sometimes you may get conflicts
and you should then solve these manual.

Peter







More information about the Lazarus mailing list