Sign in Join

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

Mailing lists / lazarus / 1999-05

execute integer ?

17 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Baeseman, Cliff

I used your instructions last night and was able to do a make cycle.

In the instructions you say to rename ppc386 to ppc386.release is this correct. Is ppc386.release my new compiler then or is it the old one?

Cliff

Earlier message 30 lines
-----Original Message----- From: Sergio A. Kessler Sent: Monday, May 17, 1999 2:25 PM To: Lazarus mailing list Subject: [lazarus] execute integer ? CVS updated two minutes ago... why in dialogs.pp the "execute" property is an integer ? it should be boolean, so I can do: if MyOpenDialog.Execute then begin { user pressed ok} end like in Delphi. I can modify it and post a patch tomorow (with all the code involved) if anyone want, yes ? Or I should wait a little ? Sergio _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Baeseman, Cliff: Shane wrote the code for that and I think he is doing some type of call back stuff in…
Cliff wrote
I also have to look at the TStrings.SaveToFile and see if I can use that for the project file etc.

Cliff you might want to try TIniFile again. Since Peter fixed some of the ansistring problems that might work for you now. I haven't tried it but give it a shot.

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

Reply by email

Michael A. Hess
to Baeseman, Cliff: Guess what I would rather be doing ;) Not working on winblows thats for sure.... Cliff…
Cliff wrote
Guess what I would rather be doing ;) Not working on winblows thats for sure....

I know the feeling. My business is kinda slow right now so I am looking for some other work and I just applied for a job doing.

Now brace yourself............Visual Basic. Ahhhhhhhhhhhh ;-)

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

Reply by email

Baeseman, Cliff

What a slacker you are at home already ;)

I am headed there now...

cliff

Earlier message 49 lines
-----Original Message----- From: Shane Miller Sent: Monday, May 17, 1999 11:23 PM To: Subject: Re: [lazarus] execute integer ? The execute command was going to return a modalresult but that doesn't work and it also won't return a boolean because it's not really a modal dialog. I will try to make it modal tonight and see what happens.... Shane -----Original Message----- From: Sergio A. Kessler To: Lazarus mailing list Date: Monday, May 17, 1999 3:02 PM Subject: [lazarus] execute integer ? > >CVS updated two minutes ago... > >why in dialogs.pp the "execute" property is an integer ? >it should be boolean, so I can do: > > if MyOpenDialog.Execute then > begin > { user pressed ok} > end > >like in Delphi. > >I can modify it and post a patch tomorow (with all the code >involved) if anyone want, yes ? >Or I should wait a little ? > >Sergio > >_________________________________________________________________ > 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

Sergio A. Kessler

CVS updated two minutes ago...

why in dialogs.pp the "execute" property is an integer ? it should be boolean, so I can do:

 if MyOpenDialog.Execute then
 begin
	{ user pressed ok}
 end

like in Delphi.

I can modify it and post a patch tomorow (with all the code involved) if anyone want, yes ?
Or I should wait a little ?

Sergio

Reply by email

Shane Miller

The execute command was going to return a modalresult but that doesn't work and it also won't return a boolean because it's not really a modal dialog. I will try to make it modal tonight and see what happens....

Shane

Earlier message 31 lines
-----Original Message----- From: Sergio A. Kessler To: Lazarus mailing list Date: Monday, May 17, 1999 3:02 PM Subject: [lazarus] execute integer ? > >CVS updated two minutes ago... > >why in dialogs.pp the "execute" property is an integer ? >it should be boolean, so I can do: > > if MyOpenDialog.Execute then > begin > { user pressed ok} > end > >like in Delphi. > >I can modify it and post a patch tomorow (with all the code >involved) if anyone want, yes ? >Or I should wait a little ? > >Sergio > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Baeseman, Cliff

Guess what I would rather be doing ;)

Not working on winblows thats for sure....

Cliff

Earlier message 26 lines
-----Original Message----- From: Michael A. Hess Sent: Monday, May 17, 1999 7:45 PM To: Subject: Re: [lazarus] execute integer ? Baeseman, Cliff wrote: > > I will once I get home I am still at work working on some web stuff.. WHAT! Instead of being home working on serious Linux and FPC stuff. Unbelievable. ;-) -- ==== 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 looked at the new function gtk_window_set_modal( window,boolean) and called it before the gtk_widget_show. I didn't notice any difference with the openfiledialog.

Currently, you Execute the opendialog and assign the opendialog.onOK to a procedure. When the user presses OK that procedure gets called. Kind of cool, but not exactly like Delphi.

Shane

Earlier message 50 lines
-----Original Message----- From: Shane Miller To: Date: Monday, May 17, 1999 7:32 PM Subject: Re: [lazarus] execute integer ? >The execute command was going to return a modalresult but that doesn't work >and it also won't return a boolean because it's not really a modal dialog. >I will try to make it modal tonight and see what happens.... > >Shane > >-----Original Message----- >From: Sergio A. Kessler >To: Lazarus mailing list >Date: Monday, May 17, 1999 3:02 PM >Subject: [lazarus] execute integer ? > > >> >>CVS updated two minutes ago... >> >>why in dialogs.pp the "execute" property is an integer ? >>it should be boolean, so I can do: >> >> if MyOpenDialog.Execute then >> begin >> { user pressed ok} >> end >> >>like in Delphi. >> >>I can modify it and post a patch tomorow (with all the code >>involved) if anyone want, yes ? >>Or I should wait a little ? >> >>Sergio >> >>_________________________________________________________________ >> 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

Baeseman, Cliff

Sergio,

Shane wrote the code for that and I think he is doing some type of call back stuff in
there for now to try to implement the gtk file dialog as a modal object.

I know he had a heck of a time working with that.

Are you familiar with how the control model is implemented yet?

If so we could always use a few more of the controls implemented like progressbar for instance. We also could use some help in running the compiler from within code. I also have to look at the TStrings.SaveToFile and see if I can use that for the project file etc.

Also control placement is a major issue. We now use a routine called addcontrol inside of tcontrol to do the
widget placement but we will have to do something better with this.

Feel free to dive in to anything you wish we will incorporate the code.

Cliff

Earlier message 30 lines
-----Original Message----- From: Sergio A. Kessler Sent: Monday, May 17, 1999 2:25 PM To: Lazarus mailing list Subject: [lazarus] execute integer ? CVS updated two minutes ago... why in dialogs.pp the "execute" property is an integer ? it should be boolean, so I can do: if MyOpenDialog.Execute then begin { user pressed ok} end like in Delphi. I can modify it and post a patch tomorow (with all the code involved) if anyone want, yes ? Or I should wait a little ? Sergio _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Shane Miller: I looked at the new function gtk_window_set_modal( window,boolean) and called it before…

I believe at some point much further down the road we will have to construct our own dialog. That is if we wish for it to work correctly...

Cliff

Shane Miller wrote 10 lines
I looked at the new function gtk_window_set_modal( window,boolean) and called it before the gtk_widget_show. I didn't notice any difference with the openfiledialog. Currently, you Execute the opendialog and assign the opendialog.onOK to a procedure. When the user presses OK that procedure gets called. Kind of cool, but not exactly like Delphi. Shane

Reply by email

Shane Miller

What do you mean? I left early to work on Linux...... :-) Remember, I'm the boss (one of many), I leave when I want. :-)

Shane

Earlier message 69 lines
-----Original Message----- From: Baeseman, Cliff To: Date: Monday, May 17, 1999 7:48 PM Subject: RE: [lazarus] execute integer ? >What a slacker you are at home already ;) > > >I am headed there now... > >cliff > >-----Original Message----- >From: Shane Miller >Sent: Monday, May 17, 1999 11:23 PM >To: >Subject: Re: [lazarus] execute integer ? > > >The execute command was going to return a modalresult but that doesn't work >and it also won't return a boolean because it's not really a modal dialog. >I will try to make it modal tonight and see what happens.... > >Shane > >-----Original Message----- >From: Sergio A. Kessler >To: Lazarus mailing list >Date: Monday, May 17, 1999 3:02 PM >Subject: [lazarus] execute integer ? > > >> >>CVS updated two minutes ago... >> >>why in dialogs.pp the "execute" property is an integer ? >>it should be boolean, so I can do: >> >> if MyOpenDialog.Execute then >> begin >> { user pressed ok} >> end >> >>like in Delphi. >> >>I can modify it and post a patch tomorow (with all the code >>involved) if anyone want, yes ? >>Or I should wait a little ? >> >>Sergio >> >>_________________________________________________________________ >> 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

Baeseman, Cliff

I will once I get home I am still at work working on some web stuff..

cliff

Earlier message 27 lines
-----Original Message----- From: Michael A. Hess Sent: Monday, May 17, 1999 7:21 PM To: Subject: Re: [lazarus] execute integer ? Baeseman, Cliff wrote: > > I also have to look at the TStrings.SaveToFile and see if I can use > that for the project file etc. Cliff you might want to try TIniFile again. Since Peter fixed some of the ansistring problems that might work for you now. I haven't tried it but give it a shot. -- ==== 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

Baeseman, Cliff

That is just what I am doing at the moment. It is cool for intranet stuff.

It is a real plus to be able to mix them up a little ;)

If you need good code you have to turn to delphi because vb is just one big hack...

Cliff

Earlier message 28 lines
-----Original Message----- From: Michael A. Hess Sent: Monday, May 17, 1999 8:12 PM To: Subject: Re: [lazarus] execute integer ? Baeseman, Cliff wrote: > > Guess what I would rather be doing ;) > > Not working on winblows thats for sure.... I know the feeling. My business is kinda slow right now so I am looking for some other work and I just applied for a job doing. Now brace yourself............Visual Basic. Ahhhhhhhhhhhh ;-) -- ==== 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

Sergio A. Kessler
to Baeseman, Cliff: I used your instructions last night and was able to do a make cycle. In the instructions…

"Baeseman, Cliff" el d�a Mon, 17 May 1999
18:05:10 -0500, escribi�:

I used your instructions last night and was able to do a make cycle. In the instructions you say to rename ppc386 to ppc386.release is this correct.

yep

Is ppc386.release my new compiler then or is it the old one?

the old one (0.99.10) the last release version.
The last command is
cp compiler/ppc386 .
wich put the newly compiled compiler in /opt/fpc
what you have now is a snapshot.

I've been told that I must use a release version (not a snapshot) to do make cycle.

about the execute property I will wait Shane's reply.

Sergio
(close to send ht 0.6)

Reply by email

Michael A. Hess
to Baeseman, Cliff: That is just what I am doing at the moment. It is cool for intranet stuff. It is a real…
Cliff wrote
If you need good code you have to turn to delphi because vb is just one big hack...

Tell me about it. When I was in the interview the guy ask me what I liked best about VB. I had to look at him and say, "To tell you the truth I DON'T like VB." I said, "If I have to do RAD give me Delphi it is much better." Sort of changed the tone of the interview. However, when it was all over he THANKED ME for the interview. He said that he had learned alot about things like Delphi which he didn't know before.

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

Reply by email