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

Mailing lists / lazarus / 1999-07
15 messages · 4 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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
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.
Yep, that's why. Not sure why that is. It was working but then I began changing things. :-)
Shane
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
CVS updated with my changes for now. A ferw more events were added and I'm very close (I…
Shane Miller wroteI 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.
Why? Then you're using the cvs wrong. A procedure that work fine (at least for me).…
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…
Cool idea. I hadn't thought about that one.
We should decide which files each of us will modify. I hate to be updating CVS over one…
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.
maybe a decendant of a tmemo like tcoloredit or something to that effect...
Things are definately looking up that is for sure.
Cliff
Hey, guess what. :-)
I updated CVS agin. Now the memo works again.
Shane
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
I have updated CVS AGAIN! (yikes) When you stretch the main form, or the FIle Open form,…
Shane Miller wroteI 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. :-)
This is the same thing I do except I don't do the working directory thing. Probably a…
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
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 >>>
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.
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