Re: [Lazarus] Mac OS X : How to get my app to show proper Short-Cuts...

2008-10-20 Thread Tobias Giesen
Hi, personally I use Mac OS Carbon API functions to manipulate the menu whenever the LCL doesn't do it right. Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tg

[Lazarus] Using 64 bit ActiveX (Volume Shadow Service)

2008-08-19 Thread Tobias Giesen
Hello, I am trying to use the VSS API in a 64-bit application. I am attaching the files translated from the Microsoft headers with which I am trying to access the API. This works fine in 32-bit Delphi but it crashes in 64-bit Lazarus. Apparently the interface declarations are not quite correct for

Re: [Lazarus] Mac OS X (Carbon), executable placement issue

2008-08-03 Thread Tobias Giesen
> And since these are the only two ways to run it, why shouldn't it > placed there from the start? History. The binary compiled file was there first, and FPC places it into the specified output folder. For example, my output folder is /code07/exec. The bundle came later. Now with a given binary

Re: [Lazarus] Migrating high integrated to windows library

2008-07-20 Thread Tobias Giesen
> > Just add LCLType,LCLIntf,LCLProc to your uses clause. > Already do without luck. Well of course some work will remain for you! > Are you sure the windows unit mut be used in linux development??? No. Cheers, Tobias http://www.superflexible.com _

Re: [Lazarus] Migrating high integrated to windows library

2008-07-20 Thread Tobias Giesen
Hi, you will find many Windows equivalent functions in the LCLIntf unit. Just add LCLType,LCLIntf,LCLProc to your uses clause. There's also a Windows unit but it should only be used when necessary I think. Cheers, Tobias ___ Lazarus mailing list Laz

[Lazarus] Linker error recompiling Lazarus on Mac OS X

2008-07-18 Thread Tobias Giesen
Hello, I want to go back to gtk. But I get a linking error, and the Carbon IDE does not show any command line outputs. How can I solve this problem? Cheers, Tobias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.or

[Lazarus] Carbon: copy and paste in TMemos

2008-06-30 Thread Tobias Giesen
Hello, I noticed that Cmd-C and Cmd-V work fine in TEdits but not in TMemos on Carbon. Do I have to add an Edit menu to my app to make it work? Or is there another way? Thanks. Tobias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.

Re: [Lazarus] Carbon: Enter key inserts character in Edit fields

2008-05-31 Thread Tobias Giesen
Hello, thanks very much to Tom for adding the filtering of the Enter key in the Carbon widgetset! This is great!! Cheers, Tobias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
> You probably forgot to add /code07/SuperFlexibleSynchronizer/SyncKernel/ > to the project's search path. No, the search path is correct. But well I understand things better now and maybe I can find the cause myself now. Thanks for all the help! Lazarus is truly fascinating! Cheers, Tobias

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
Hi, OK when I add the unit to the Project, it works much better. I don't have to add all units that need to be found by CodeTools, I just need to add the units in which I work and from which I look for symbols. But still, if CodeTools could just use the main Project path even if it doesn't know

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
> Which unit A does not find which other unit B? OK I am in the editor and working on unit /code07/SuperFlexibleSynchronizer/SyncKernel/SyncMainFormBase.pas The "Unit Paths" field in File Settings is totally empty. What should I find there? I am clicking on a symbol and then the cursor jumps to

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
nores that setting, so it does not find some of my files. Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com --- Registered at register cou

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
> Probably you forgot to add the unit to the project. I don't want to add all units to the project. Why can't CodeTools just search the complete project's search path? They do not do it. I am using a lot of third party code libraries but I construct the components at run time, so I don't see any

Re: [Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
> If the units are part of your project or part of a Package which is a > requirement of your project, CodeTools will automatically find those > units. I see, but that is not enough for me. I need the whole Project's search path to be searched. Otherwise I would have to add about 300 units to my p

[Lazarus] CodeTools doesn't look in the project's search path

2008-05-28 Thread Tobias Giesen
Hello, two questions: do I really need to copy the project's search paths into the separate CodeTools dialog so that my units are found? Or is this something I could try to implement, making CodeTools aware of the project's search paths? Cheers, Tobias _

Re: [Lazarus] WARNING: Widestring Delete function causes crashes

2008-05-28 Thread Tobias Giesen
Hi, OK I learned that it won't be fixed in 2.2.0, which surely justifies my warning. I wish I had been warned, since this has been fixed in 2.2.1 a long time ago. But only 2.2.0 is available on the daily snapshots page, so this is really a trap. Could FPC 2.2.1 for Mac OS be made available on the

[Lazarus] WARNING: Widestring Delete function causes crashes

2008-05-27 Thread Tobias Giesen
; if Size+Index>LS then Size:=LS-Index+1; if Index+Size<=LS then begin Dec(Index); System.Move(PWideChar(S)[Index+Size],PWideChar(S)[Index], (LS-Index-Size+1)*sizeof(WideChar)); end; Setlength(s,LS-Size); end; end; Kind Regards

Re: [Lazarus] Lazarus+GDB=app slow start

2008-03-31 Thread Tobias Giesen
> This is one of the reasons why Lazarus keeps the debugger running. Interesting! On Mac OS X i386, this apparently causes a second or third start of the program to fail occasionally ("Oops, the debugger..."). Can I turn off keeping the debugger running? Or where can I change this behavior in th

[Lazarus] Problems with TabVisible=false [Carbon]

2008-03-08 Thread Tobias Giesen
Hello, the pagecontrol also behaves erratic in many ways when at least one tabsheet has its tab hidden. For example, some tabs cannot be clicked on and the contents of several tab sheets is shown at the same time one over the other. Probably a Carbon-specific problem? I guess I will take a look

[Lazarus] Nested TPageControls on Carbon

2008-03-07 Thread Tobias Giesen
concerning why this is so and what needs to be changed? Thanks. Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com --- Registered at register c

[Lazarus] Nested TPageControls on Carbon

2008-03-07 Thread Tobias Giesen
needs to be changed? Thanks. Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com --- Registered at register court Steinfurt as HRA

Re: [Lazarus] All units always being recompiled

2008-03-05 Thread Tobias Giesen
Mattias wrote: > Fixed in 14433. Thanks very much! That makes a huge difference! Cheers, Tobias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] All units always being recompiled

2008-03-05 Thread Tobias Giesen
> Project --> Project Options --> Miscelaneus --> Always Build > (even if nothing changed) That's what I thought too at first, but it's more complicated. This option only causes a new compilation of the main project file. But in my project, all units are always recompiled. Very strange! Cheers

[Lazarus] All units always being recompiled

2008-03-05 Thread Tobias Giesen
Hello, I have a strange problem. I am porting a new project from Delphi/Windows to Lazarus/Mac OS. This project doesn't compile completely yet. So I am always hitting F9 to get a list of errors and fix them. But each time, Lazarus/FPC recompiles all units in the project, even those that have alrea

Re: [Lazarus] Installation using MacPorts (solved)

2008-03-01 Thread Tobias Giesen
> > Are there any objections or can I add it to the wiki at > > http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips > > ? > > Please add it. Done! How exciting (my first Wiki contribution)! Right now the www.macports.org link does not seem to work because of a problem with their web site. B

Re: [Lazarus] Installation using MacPorts (solved)

2008-02-28 Thread Tobias Giesen
ind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com --- Registered at register court Steinfurt as HRA 5061 Liability / general partner: TGTo

[Lazarus] Installation using MacPorts (solved)

2008-02-28 Thread Tobias Giesen
Hi, the complete steps to install Lazarus with MacPorts are these: - if Fink is installed, delete it (see Fink website) - /sw folder should not exist at this point - install MacPorts from www.macports.org - sudo ln -s /opt /sw - sudo /opt/local/bin/port install gtk1 - sudo /opt/local/bin/port ins

[Lazarus] Installation using MacPorts

2008-02-28 Thread Tobias Giesen
ot;In the same way if you use the terminal you can make a "sudo port install binutils" right before." What does this mean? Do I have to install the binutils? Right before what? In what same way? I don't understand this sentence ..

[Lazarus] Installation on Mac OS X 10.5 (Leopard)

2008-02-27 Thread Tobias Giesen
don't seem to mention any alternative. What is the best way? I would like to get a daily snapshot to work. Does the daily snapshot include only the Gtk IDE or also the Carbon one? Thanks. Tobias Giesen ___ Lazarus mailing list La