Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

CVS updated]

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Samuel Liddicott
to Peter Vreman: You can always update your sources with the CVS sources. That will patch your sources…
Show quoted text 9 lines
-----Original Message----- From: Peter Vreman Sent: 17 August 1999 11:19 AM To: Subject: RE: [lazarus] CVS updated] 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.

Oh, wow.

I see CVS update does this naturally!!

wow.

Thanks

Sam

Reply by email

Samuel Liddicott
to Michal Bukovjan: BTW, does the CompStyle property need to be there? Since gtkint sees all classes…
Show quoted text 18 lines
-----Original Message----- From: Michal Bukovjan Sent: 17 August 1999 12:05 PM To: 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?

Sam

Reply by email

Peter Vreman
to Samuel Liddicott
Samuel Liddicott wrote 44 lines
> -----Original Message----- > From: Michal Bukovjan > Sent: 17 August 1999 12:05 PM > To: > 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

Reply by email

Michal Bukovjan

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).

Michal Bukovjan

"Shane Miller" wrote
I assume you are referring to the CONST declaration of that fsCompStyle. If

so, then it's done.

Show quoted text 43 lines
Shane >>> "Baeseman, Cliff" 08/16 12:06 PM >>> Shane if you get a chance while working the code today can you add csHScrollBar to the control list. Thanx ... Cliff -----Original Message----- From: Shane Miller Sent: Monday, August 16, 1999 11:35 AM To: Subject: [lazarus] CVS updated I added some stuff again. Go here if you are interested in the list of changes. It's the version 1.10 changes. http://tflily.fys.kuleuven.ac.be/cgi-bin/cvsweb/fpc/lazarus/lcl/control.inc Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email