Sign in Join

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

Mailing lists / lazarus / 1999-07

TAlign

15 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Shane Miller

I see TAlignment is in classesh.inc. Should TAlign also be in there?

TAlign = (alNone, alTop, alBottom, alLeft, alRight , alClient) or is it somewhere else?

Shane

Reply by email

Michael A. Hess
to Shane Miller
Shane Miller wrote 5 lines
I see TAlignment is in classesh.inc. Should TAlign also be in there? TAlign = (alNone, alTop, alBottom, alLeft, alRight , alClient) or is it somewhere else?

TAlignment is a function of text and since that level of classes deals with text it is OK to be there.

TAlign deals with controls and their placement. This should be defined in controls.pp which in fact is where it is defined in Delphi.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Shane Miller

Yep, that's why. Not sure why that is. It was working but then I began changing things. :-)

Shane

Earlier message 28 lines
-----Original Message----- From: Michael A. Hess To: Date: Monday, July 12, 1999 3:53 PM Subject: Re: [lazarus] TAlign >Shane Miller wrote: >> >> I still have to fix the colorizer. Still not sure why it stopped >> working. > >Is this why I get nothing but garbage when I open a file? > >> I am thinking about totally rewriting it into a whole new component >> instead of using a TMemo component. > >-- >==== Programming my first best destiny! ==== > >Michael A. Hess Miracle Concepts, Inc. > http://www.miraclec.com > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Shane Miller

We should decide which files each of us will modify. I hate to be updating CVS over one of your versions.

I am mostly working on editor.pp, stdcontrols.pp control.pp and gtkint.pp

Shane

Earlier message 44 lines
-----Original Message----- From: Shane Miller To: Date: Monday, July 12, 1999 5:48 PM Subject: Re: [lazarus] TAlign >Hey, guess what. :-) >I updated CVS agin. Now the memo works again. > >Shane > >-----Original Message----- >From: Shane Miller >To: >Date: Monday, July 12, 1999 5:32 PM >Subject: Re: [lazarus] TAlign > > >>I have updated CVS AGAIN! (yikes) >> >>When you stretch the main form, or the FIle Open form, you'll notice that >>the controls on them move too! It doesn't work perfectly but it's a start. >>Stretch the form bigger and it should grow with you. >> >>Anyone know what happened to gtkwindow's move-resize signal? How do I >>detect when the window is moved? >> >>Thanks >>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 >

Reply by email

Michael A. Hess
to Shane Miller: CVS updated with my changes for now. A ferw more events were added and I'm very close (I…
Shane Miller wrote
I still have to fix the colorizer. Still not sure why it stopped working.

Is this why I get nothing but garbage when I open a file?

I am thinking about totally rewriting it into a whole new component instead of using a TMemo component.
==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Peter Vreman: Why? Then you're using the cvs wrong. A procedure that work fine (at least for me).…
Peter Vreman wrote 9 lines
1. checkout the cvs in a directory ~/cvs/lazarus 2. copy all cvs files to your working directory ~/pp/lazarus 3. edit the files in pp/lazarus, if anything goes wrong you always have the latest version still available in ~/cvs/lazarus. 4. copy the updated file from pp/lazarus to cvs/lazarus. but do NOT run a cvs update before. 5. When the files are copied to the cvs/lazarus then you can do a cvs update and finally the commit.

This is the same thing I do except I don't do the working directory thing. Probably a good idea though. :-\

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Peter Vreman: Another advantage of a separate working directory is that you always can do 'diff -c…
Peter Vreman wrote 5 lines
Another advantage of a separate working directory is that you always can do 'diff -c ~/cvs/lazarus <file> > <diffile>' to see what changes you've made. I use this trick to update the 0.99.12 branch with fixes i created using the main branch of the compiler.

Cool idea. I hadn't thought about that one.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Shane Miller: We should decide which files each of us will modify. I hate to be updating CVS over one…
Shane Miller wrote 6 lines
We should decide which files each of us will modify. I hate to be updating CVS over one of your versions. I am mostly working on editor.pp, stdcontrols.pp control.pp and gtkint.pp

I'm working on the dialogs.pp (TDialog and TOpenFileDialog) which will require some modifications to control.pp and gtkint.pp.

I'll finish this and commit tonight.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Baeseman, Cliff

maybe a decendant of a tmemo like tcoloredit or something to that effect...

Things are definately looking up that is for sure.

Cliff

Earlier message 47 lines
-----Original Message----- From: Shane Miller Sent: Monday, July 12, 1999 4:23 PM To: Subject: Re: [lazarus] TAlign CVS updated with my changes for now. A ferw more events were added and I'm very close (I think) to getting the components to resize with it's parent based (genericly) on it's TAlign property. I still have to fix the colorizer. Still not sure why it stopped working. I am thinking about totally rewriting it into a whole new component instead of using a TMemo component. Shane >>> "Michael A. Hess" 07/12 3:39 PM >>> Shane Miller wrote: > > I see TAlignment is in classesh.inc. Should TAlign also be in there? > > TAlign = (alNone, alTop, alBottom, alLeft, alRight , alClient) > or is it somewhere else? TAlignment is a function of text and since that level of classes deals with text it is OK to be there. TAlign deals with controls and their placement. This should be defined in controls.pp which in fact is where it is defined in Delphi. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ 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

Shane Miller

Hey, guess what. :-)
I updated CVS agin. Now the memo works again.

Shane

Earlier message 25 lines
-----Original Message----- From: Shane Miller To: Date: Monday, July 12, 1999 5:32 PM Subject: Re: [lazarus] TAlign >I have updated CVS AGAIN! (yikes) > >When you stretch the main form, or the FIle Open form, you'll notice that >the controls on them move too! It doesn't work perfectly but it's a start. >Stretch the form bigger and it should grow with you. > >Anyone know what happened to gtkwindow's move-resize signal? How do I >detect when the window is moved? > >Thanks >Shane > > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Peter Vreman
to Shane Miller: We should decide which files each of us will modify. I hate to be updating CVS over one…
We should decide which files each of us will modify. I hate to be updating CVS over one of your versions. I am mostly working on editor.pp, stdcontrols.pp control.pp and gtkint.pp

Why? Then you're using the cvs wrong.

A procedure that work fine (at least for me).

checkout the cvs in a directory ~/cvs/lazarus

copy all cvs files to your working directory ~/pp/lazarus

edit the files in pp/lazarus, if anything goes wrong you always have the latest version still available in ~/cvs/lazarus.

copy the updated file from pp/lazarus to cvs/lazarus. but do NOT run a cvs update before. When the files are copied to the cvs/lazarus then you can do a cvs update and finally the commit.

Peter

Reply by email

Michael A. Hess
to Shane Miller: I have updated CVS AGAIN! (yikes) When you stretch the main form, or the FIle Open form,…
Shane Miller wrote
I have updated CVS AGAIN! (yikes)

Good. The more often the better. I update after every file I edit.

When you stretch the main form, or the FIle Open form, you'll notice that the controls on them move too! It doesn't work perfectly but it's a start. Stretch the form bigger and it should grow with you.

Getting cool, Shane. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Peter Vreman
to Michael A. Hess: This is the same thing I do except I don't do the working directory thing. Probably a…
Show quoted text 11 lines
> 1. checkout the cvs in a directory ~/cvs/lazarus > 2. copy all cvs files to your working directory ~/pp/lazarus > 3. edit the files in pp/lazarus, if anything goes wrong you always > have the latest version still available in ~/cvs/lazarus. > 4. copy the updated file from pp/lazarus to cvs/lazarus. but do NOT > run a cvs update before. > 5. When the files are copied to the cvs/lazarus then you can do a cvs > update and finally the commit. This is the same thing I do except I don't do the working directory thing. Probably a good idea though. :-\

Another advantage of a separate working directory is that you always can do 'diff -c ~/cvs/lazarus <file> > <diffile>' to see what changes you've made. I use this trick to update the 0.99.12 branch with fixes i created using the main branch of the compiler.

Peter

Reply by email

Shane Miller

CVS updated with my changes for now. A ferw more events were added and I'm very close (I think) to getting the components to resize with it's parent based (genericly) on it's TAlign property.

I still have to fix the colorizer. Still not sure why it stopped working. I am thinking about totally rewriting it into a whole new component instead of using a TMemo component.

Shane

>> "Michael A. Hess" 07/12 3:39 PM >>>
Shane Miller wrote 5 lines
I see TAlignment is in classesh.inc. Should TAlign also be in there? TAlign = (alNone, alTop, alBottom, alLeft, alRight , alClient) or is it somewhere else?

TAlignment is a function of text and since that level of classes deals with text it is OK to be there.

TAlign deals with controls and their placement. This should be defined in controls.pp which in fact is where it is defined in Delphi.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

I have updated CVS AGAIN! (yikes)

When you stretch the main form, or the FIle Open form, you'll notice that the controls on them move too! It doesn't work perfectly but it's a start. Stretch the form bigger and it should grow with you.

Anyone know what happened to gtkwindow's move-resize signal? How do I detect when the window is moved?

Thanks
Shane

Reply by email