Sign in Join

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

Mailing lists / lazarus / 1999-04

CVS Update

8 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Shane Miller

OK, the latest source is there. The changes today include the addition of a spinedit control, and buttons can have their label's changed dynamically simply by setting their button#.caption property.

I noticed a problem when I call the function gtk_widget_set_usize. It doesn't work.

It seems to work the first time that they are both > 0 but after that they don't seem to do anything.

I'm going to look at it again, but take a 's called each time the height, left, top, or width are adjusted for a TControl. If you change the button's width and height in the MAIN.PP file, you'll notice that they never get bigger/smaller than their original size, yet you CAN move them by changing the left and top.

Interesting. If you notice the same thing, please let me know because I am not sure if it is me or the function messing up.

Thanks
Shane

-- hmmm...still thinking of something cute to say --

Reply by email

Cliff Baeseman
to Shane Miller: Thanks Cliff. I will create the TOpenDialog tonight. Just make believe that it's there…

yep I am going to find out here in a minute when I start banging away at the editor.

I have all weekend to make it sing.

Cliff

Michael A. Hess wrote 19 lines
Shane Miller wrote: > > I guess I also have to get the TMemo to actually load when the > loadfromfile function occurs....maybe I'll find some cheap way to do > it for now and figure it out later. You shouldn't have to do it in anykind of cheap way. The loadfromfile and savetofile methods are available in the fcl using streams. The TStrings uses it already and very well. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Michael A. Hess
to Shane Miller: Thanks Cliff. I will create the TOpenDialog tonight. Just make believe that it's there…
Shane Miller wrote
I guess I also have to get the TMemo to actually load when the loadfromfile function occurs....maybe I'll find some cheap way to do it for now and figure it out later.

You shouldn't have to do it in anykind of cheap way. The loadfromfile and savetofile methods are available in the fcl using streams. The TStrings uses it already and very well.

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

Reply by email

Shane Miller

I have updated CVS with my chjanges from last night. Nothing big. I added Tool Tips to TControl so anything created can have a hint added to it.

I don't really like how they look and will look into changing them a bit.

Shane

-- Nope, nothing cute to say yet..... --

Reply by email

Shane Miller

Thanks Cliff.

I will create the TOpenDialog tonight. Just make believe that it's there for the time being and work on the editor. If you could get a colorizer working, or converted to pascal, that would be great.

I guess I also have to get the TMemo to actually load when the loadfromfile function occurs....maybe I'll find some cheap way to do it for now and figure it out later.

Shane

>> Cliff Baeseman 04/23 3:16 PM >>>

Shane you are da man. I guess that I should work with TApplication this evening.

I am also going to go after the editor and compiler screens this weekend. I guess we should look at creating TOpenDialog soon so that we can get a editor running.

Cliff

Earlier message 39 lines
-----Original Message----- From: Shane Miller Sent: Friday, April 23, 1999 2:49 PM To: Subject: [lazarus] CVS Update OK, the latest source is there. The changes today include the addition of a spinedit control, and buttons can have their label's changed dynamically simply by setting their button#.caption property. I noticed a problem when I call the function gtk_widget_set_usize. It doesn't work. It seems to work the first time that they are both > 0 but after that they don't seem to do anything. I'm going to look at it again, but take a 's called each time the height, left, top, or width are adjusted for a TControl. If you change the button's width and height in the MAIN.PP file, you'll notice that they never get bigger/smaller than their original size, yet you CAN move them by changing the left and top. Interesting. If you notice the same thing, please let me know because I am not sure if it is me or the function messing up. Thanks Shane -- hmmm...still thinking of something cute to say -- _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Cliff Baeseman
to Shane Miller

Yea I am not even going to worry about the colorizer for now. I say we just bang out our IDE now and get something to the rest of the world. I believe it will build a immediate interest in our project and maybe put a few more hands on the code. If we concentrate on the IDE we will have something usable in a few days I sincerely believe. I cannot wait to blow the text editors.

;)

Cliff

Earlier message 76 lines
-----Original Message----- From: Shane Miller Sent: Friday, April 23, 1999 4:20 PM To: Subject: Re: RE: [lazarus] CVS Update Thanks Cliff. I will create the TOpenDialog tonight. Just make believe that it's there for the time being and work on the editor. If you could get a colorizer working, or converted to pascal, that would be great. I guess I also have to get the TMemo to actually load when the loadfromfile function occurs....maybe I'll find some cheap way to do it for now and figure it out later. Shane >>> Cliff Baeseman 04/23 3:16 PM >>> Shane you are da man. I guess that I should work with TApplication this evening. I am also going to go after the editor and compiler screens this weekend. I guess we should look at creating TOpenDialog soon so that we can get a editor running. Cliff -----Original Message----- From: Shane Miller Sent: Friday, April 23, 1999 2:49 PM To: Subject: [lazarus] CVS Update OK, the latest source is there. The changes today include the addition of a spinedit control, and buttons can have their label's changed dynamically simply by setting their button#.caption property. I noticed a problem when I call the function gtk_widget_set_usize. It doesn't work. It seems to work the first time that they are both > 0 but after that they don't seem to do anything. I'm going to look at it again, but take a 's called each time the height, left, top, or width are adjusted for a TControl. If you change the button's width and height in the MAIN.PP file, you'll notice that they never get bigger/smaller than their original size, yet you CAN move them by changing the left and top. Interesting. If you notice the same thing, please let me know because I am not sure if it is me or the function messing up. Thanks Shane -- hmmm...still thinking of something cute to say -- _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Cliff Baeseman
to Shane Miller: I have updated CVS with my chjanges from last night. Nothing big. I added Tool Tips to…

Thats ok I did not add any code last night while I was fighting the dyynamic captioning thing.

Cliff

Earlier message 20 lines
-----Original Message----- From: Shane Miller Sent: Thursday, April 22, 1999 8:39 AM To: Subject: [lazarus] CVS Update I have updated CVS with my chjanges from last night. Nothing big. I added Tool Tips to TControl so anything created can have a hint added to it. I don't really like how they look and will look into changing them a bit. Shane -- Nope, nothing cute to say yet..... -- _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Cliff Baeseman
to Shane Miller: OK, the latest source is there. The changes today include the addition of a spinedit…

Shane you are da man. I guess that I should work with TApplication this evening.

I am also going to go after the editor and compiler screens this weekend. I guess we should look at creating TOpenDialog soon so that we can get a editor running.

Cliff

Earlier message 35 lines
-----Original Message----- From: Shane Miller Sent: Friday, April 23, 1999 2:49 PM To: Subject: [lazarus] CVS Update OK, the latest source is there. The changes today include the addition of a spinedit control, and buttons can have their label's changed dynamically simply by setting their button#.caption property. I noticed a problem when I call the function gtk_widget_set_usize. It doesn't work. It seems to work the first time that they are both > 0 but after that they don't seem to do anything. I'm going to look at it again, but take a 's called each time the height, left, top, or width are adjusted for a TControl. If you change the button's width and height in the MAIN.PP file, you'll notice that they never get bigger/smaller than their original size, yet you CAN move them by changing the left and top. Interesting. If you notice the same thing, please let me know because I am not sure if it is me or the function messing up. Thanks Shane -- hmmm...still thinking of something cute to say -- _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email