Sign in Join

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

Mailing lists / lazarus / 2000-04

cvs updated

11 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 added code for SetCapture, ReleaseCapture and GetCapture.

This now allows the Speedbuttons to pop back up when you move out of them.

Shane

Reply by email

Michael A. Hess
to Shane Miller: I added SetProp and GetPror winapi calls. In gtk they simply call gtk_object_set_data and…
Shane Miller wrote
"How to add a Windows API function" how-to because EVERYTIME I do it I forget how to do it so I can imagine it's tough for everybody else (everybody? How many is that?)

Actually I my impression is that it is starting to be more and more. There aren't any more adding to development as of yet but I do believe more and more people are starting to play with it. Soon they might start adding to development. However, it is starting to get to the point where people can actually use it to create their own applications so something like the above would be helpful to them.

Anyway, I plan on writing a quick explanation and posting it on the site.

I can add it to the other Help document you have on the site.

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

Reply by email

Marc Weustink
to Shane Miller: That's a good idea. Make sure you write it in LAzarus though. :-) Also, make it…
Shane Miller wrote 5 lines
That's a good idea. Make sure you write it in LAzarus though. :-) Also, make it alphabetize it too so it put's it in the right spot. It'll have to ask whether it's platform specific or not, but that's about it... Are you going to do it? Otherwise maybe I'll look into it....

I'll give it a try

Marc

Due to some security problems of my provider is my private email adress temporary out of order. Any mail sent after april 8 0.00 GMT will be read after april 11 (I hope) Until further notice please use my temporary adress:

Reply by email

Marc Weustink
to Shane Miller: I added SetProp and GetPror winapi calls. In gtk they simply call gtk_object_set_data and…
Shane Miller wrote 9 lines
I added SetProp and GetPror winapi calls. In gtk they simply call gtk_object_set_data and gtk_object_get_data I'm going to write a "How to add a Windows API function" how-to because EVERYTIME I do it I forget how to do it so I can imagine it's tough for everybody else (everybody? How many is that?)

It is only editing 5 files ;-)
I'm still thinking of writing a little app, where you can enter the declaration and the app puts it in the right place.

Marc

Show quoted text 9 lines
Anyway, I plan on writing a quick explanation and posting it on the site. Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus
Due to some security problems of my provider is my private email adress temporary out of order. Any mail sent after april 8 0.00 GMT will be read after april 11 (I hope) Until further notice please use my temporary adress:

Reply by email

Shane Miller

I added SetProp and GetPror winapi calls.

In gtk they simply call gtk_object_set_data and gtk_object_get_data

I'm going to write a

"How to add a Windows API function" how-to because EVERYTIME I do it I forget how to do it so I can imagine it's tough for everybody else (everybody? How many is that?)

Anyway, I plan on writing a quick explanation and posting it on the site.

Shane

Reply by email

Shane Miller

That's a good idea. Make sure you write it in LAzarus though. :-) Also, make it alphabetize it too so it put's it in the right spot. It'll have to ask whether it's platform specific or not, but that's about it...

Are you going to do it? Otherwise maybe I'll look into it....

Shane

>> 04/10/00 02:55PM >>>
Shane Miller wrote 9 lines
I added SetProp and GetPror winapi calls. In gtk they simply call gtk_object_set_data and gtk_object_get_data I'm going to write a "How to add a Windows API function" how-to because EVERYTIME I do it I forget how to do it so I can imagine it's tough for everybody else (everybody? How many is that?)

It is only editing 5 files ;-)
I'm still thinking of writing a little app, where you can enter the declaration and the app puts it in the right place.

Marc

Show quoted text 9 lines
Anyway, I plan on writing a quick explanation and posting it on the site. Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus
Due to some security problems of my provider is my private email adress temporary out of order. Any mail sent after april 8 0.00 GMT will be read after april 11 (I hope) Until further notice please use my temporary adress: _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

I moved the compiler code to compiler.pp
I added functions for pulling out a line number, column number, and unit name out of the error messages.

When you double click on an error message in the Compiler Message dialog it will now bring up the editor and open that unit for editing. It positions the cursor but it doesn't get focus so it doesn't display the cursor. If it already HAD focus, then the cursor is in the old spot it was in until you press a key, then it jumps to the new spot.

I'll have to look at that further, or someone else can feel free to did actually create a project, change the unit1.pp file so there was an error in it, compile, click on the error, take it out, save and recompile and it worked. We are getting a little closer......

Shane

Reply by email

Marc Weustink
to Shane Miller: I moved the compiler code to compiler.pp I added functions for pulling out a line number,…
Curtis White wrote 8 lines
I made the following changes to CVS today. - Fixed function in lazconf.inc to expand the filename when ~ is used. - Changed MkDir function to CreateDir in lazconf.inc - Fixed Makefile to compile in the proper lazconf.inc file. - Made compiler options check for primary path first for XML config file. If it doesn't exist, it will create the path (on Linux - Windows should have the path because that is where Lazarus is installed) and file.

Where is lazconf.pp ??

Marc

Reply by email

Curtis White
to Shane Miller: I moved the compiler code to compiler.pp I added functions for pulling out a line number,…

I made the following changes to CVS today.

- Fixed function in lazconf.inc to expand the filename when ~ is used.
- Changed MkDir function to CreateDir in lazconf.inc
- Fixed Makefile to compile in the proper lazconf.inc file.
- Made compiler options check for primary path first for XML config file. If it doesn't exist, it will create the path (on Linux - Windows should have the path because that is where Lazarus is installed) and file.

Now compiler options should work for everyone. It should save and restore the compiler options to the ~/.lazarus/compileroptions.xml file on Linux. Windows should save and restore the compiler options to lazarusdir\compileroptions.xml, where lazarusdir is the location lazarus is installed and run from. I haven't tested it on Windows yet, so someone might want to check to make sure it saves and restores the compiler options on Windows.

I still need to add the code to get it to check the secondary path and load the config options from there if the primary path does not exist. But for now, it just sets the values to default values if the file and path do not exist.

Curtis

Reply by email