[Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread paul
environment I decided to install a test setup in a VirtualBox from snapshots so I downloaded and installed today's Lazarus snapshots for FPC 2.2.3: Lazarus-0.9.27-17734-fpc-2.2.3-20081209-win32.exe Lazarus-0.9.27-17734-fpc-2.2.3-20081209-cross-arm-wince-win32.exe A new Win32/i386 application compiles

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Henry Vermaak
2008/12/9 [EMAIL PROTECTED]: 8 I get the following error message and compilation fails when I try to build a new project: The system.ppu was not found in the FPC directories. Make sure fpc is installed correctly and the fpc.cfg points to the right directory. There is a wince-arm

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Vincent Snijders
don't disturb my normal working environment I decided to install a test setup in a VirtualBox from snapshots so I downloaded and installed today's Lazarus snapshots for FPC 2.2.3: Lazarus-0.9.27-17734-fpc-2.2.3-20081209-win32.exe Lazarus-0.9.27-17734-fpc-2.2.3-20081209-cross-arm-wince-win32.exe

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread paul
Thanks Henry, My search paths match yours: # searchpath for units and other system dependent things -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/ -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/* -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/rtl The fpc.cfg is the default one installed by the snapshot. I have

Re: [Lazarus] First steps

2008-12-09 Thread Hans-Peter Diettrich
More topics: The form designer windows should be closed on start of the program - but I couldn't find an according option. Docking should be handled properly in design state (Windows). It's unclear whether it should be possible to dock forms at design time, or whether it should be disabled at

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Felipe Monteiro de Carvalho
Go to the environment options dialog and check if the compiler is the right one. I think that Lazarus comes preconfigured to use ppcx86.exe but it should actually use fpc.exe which will choose the correct compiler. Don't change anything in your fpc.cfg file. -- Felipe Monteiro de Carvalho

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Henry Vermaak
2008/12/9 [EMAIL PROTECTED]: Thanks Henry, My search paths match yours: # searchpath for units and other system dependent things -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/ -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/* -Fuc:\Lazarus\fpc\2.2.3/units/$FPCTARGET/rtl The fpc.cfg is the default

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread paul
Thanks Felipe That's exactly what it is. Is there a reason why fpc.exe can't be the default for snapshots? On Tuesday 09 December 2008 11:39:00 Felipe Monteiro de Carvalho wrote: Go to the environment options dialog and check if the compiler is the right one. I think that Lazarus comes

[Lazarus] Environment options corrupted

2008-12-09 Thread Tom Verhoeff
We use Lazarus in our first year programming education (as an experiment). There are various issues that we encounter, some small, some bigger. Here is one that I don't understand. We have had a few instances where a window consistently failed to show up: * Object Inspector * Messages In

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Mattias Gärtner
Zitat von Vincent Snijders [EMAIL PROTECTED]: 2008/12/9 [EMAIL PROTECTED]: Thanks Felipe That's exactly what it is. Is there a reason why fpc.exe can't be the default for snapshots? AFAIK, it is the default. At least not in the IDE sources. Now it is: r17757. Mattias

[Lazarus] Changed Compilers Options and Run (was Re: Environment options corrupted)

2008-12-09 Thread Tom Verhoeff
On Tue, Dec 09, 2008 at 01:57:37PM +0100, Tom Verhoeff wrote: We use Lazarus in our first year programming education (as an experiment). There are various issues that we encounter, some small, some bigger. Here is another issue. When working on a program involving multiple units, it may turn

[Lazarus] TBitmapCanvas public

2008-12-09 Thread Coppola Ing. Salvatore
Hi, can the TBitmapCanvas be declared public (I mean before implementation) in the unit Graphics? I'm trying to replace the TMetafile TMetafileCanvas in some GraphPrinters units. Thanks Salvatore ___ Lazarus mailing list

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Vincent Snijders
2008/12/9 [EMAIL PROTECTED]: Thanks Felipe That's exactly what it is. Is there a reason why fpc.exe can't be the default for snapshots? AFAIK, it is the default. Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Environment options corrupted

2008-12-09 Thread Mattias Gärtner
Zitat von Tom Verhoeff [EMAIL PROTECTED]: We use Lazarus in our first year programming education (as an experiment). There are various issues that we encounter, some small, some bigger. OS? FPC Version? Laz Version? Here is one that I don't understand. We have had a few instances where a

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread paul
Vincent, On Tuesday 09 December 2008 10:51:05 Vincent Snijders wrote: The system.ppu was not found in the FPC directories. Make sure fpc is installed correctly and the fpc.cfg points to the right directory. AFAIK, this is not a compiler message, but a message from the IDE. Yes, I wasn't

Re: [Lazarus] First steps

2008-12-09 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich [EMAIL PROTECTED]: More topics: The form designer windows should be closed on start of the program - but I couldn't find an according option. Do you mean: Environment / Options / Environment / Form Editor / Auto create forms when opening a unit ? Docking

Re: [Lazarus] WinCE 2.2.3 Snapshot Problem

2008-12-09 Thread Vincent Snijders
2008/12/9 [EMAIL PROTECTED]: Hello, I don't know how to proceed from here? Is WinCE 2.2.3 known to be broken at the moment? I did try with the 2.3.1 snapshots last week and I couldn't get those to work either. I can confirm fpc 2.3.1 for arm-wince is broken, see

Re: [Lazarus] Attach to process...

2008-12-09 Thread Leonardo M. Ramé
Thanks Marc!, but aparently my Lazarus version (0.9.27 for Win32) has a bug. When I click run, the title of Lazarus main window sais (debugging...) and my breakpoins are in green, but nothing happens,it should open Firefox. I attached a screenshot with my configuration of Run - Parameters...

Re: [Lazarus] First steps

2008-12-09 Thread Hans-Peter Diettrich
Mattias Gärtner schrieb: More topics: The form designer windows should be closed on start of the program - but I couldn't find an according option. Do you mean: Environment / Options / Environment / Form Editor / Auto create forms when opening a unit ? No. When a GUI program is started

Re: [Lazarus] Environment options corrupted

2008-12-09 Thread Tom Verhoeff
On Tue, Dec 09, 2008 at 02:51:06PM +0100, Mattias Gärtner wrote: Zitat von Tom Verhoeff [EMAIL PROTECTED]: We use Lazarus in our first year programming education (as an experiment). There are various issues that we encounter, some small, some bigger. OS? FPC Version? Laz Version?

[Lazarus] Typing in StringGrid cell - Linux

2008-12-09 Thread Jan Kowalski
Hi, I have a strange problem with typing in StringGrid cell. As example : when I typed something I get omethings in cell. This becouse when I put first char cursor goes to the left side of this char. On windows everything is ok I used svn version of lazarus x64 (rev 17743) and fpc 2.3.1 best

[Lazarus] Terminal window

2008-12-09 Thread svaa
Hello: I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger has problems to check the values of variables, I want to output debug data with writeln but I can't get a terminal with if it is not console application. How can I get a to have the GUI program running and a

Re: [Lazarus] First steps

2008-12-09 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich [EMAIL PROTECTED]: Mattias Gärtner schrieb: More topics: The form designer windows should be closed on start of the program - but I couldn't find an according option. Do you mean: Environment / Options / Environment / Form Editor / Auto create forms

Re: [Lazarus] Terminal window

2008-12-09 Thread Tom Verhoeff
On Tue, Dec 09, 2008 at 04:08:36PM +0100, svaa wrote: I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger has problems to check the values of variables, I want to output debug data with writeln but I can't get a terminal with if it is not console application. How

Re: [Lazarus] Terminal window

2008-12-09 Thread Bart
I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger has problems to check the values of variables, I want to output debug data with writeln but I can't get a terminal with if it is not console application. Did you try DebugLn() from LCLProc unit? This works for me on

Re: [Lazarus] Terminal window

2008-12-09 Thread Coppola Ing. Salvatore
svaa wrote: Hello: I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger has problems to check the values of variables, I want to output debug data with writeln but I can't get a terminal with if it is not console application. How can I get a to have the GUI program

[Lazarus] TProcess oddity?

2008-12-09 Thread Bart
Hi, Just played with TProcess for the first time. I observed some oddities (?, or maybe I'm just dumb ...). If you try to execute a process that is non-executable (like for example a word doc), then on Windows an exception is raised and GetLastOSError returns 193. If you try this on (my) linux,

[Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Reenen Laurie
When I work cross platform (develop at home on linux, and at work on windows), I have to have separate .lpi / lpr files for linux and windows... My assumption is that this line in the windows (lpi) version makes it not work: RunParams local FormatVersion Value=1/

[Lazarus] Unit and includepaths and the IDE

2008-12-09 Thread Bart
Hi, Like most others (I guess), I have some units that I use frequently (like about.pp etc.). These units reside in a specific folder. Now I've added this folder, and the incude subdirectories to fpc.cfg, be4cause I got tired of adding this in Project-Compiler Options for every projec. In this

Re: [Lazarus] TStringGrid: ColCount vs Columns.Count

2008-12-09 Thread Alexander Klenin
On Tue, Dec 9, 2008 at 14:21, Jesus Reyes [EMAIL PROTECTED] wrote: Indeed it worked that way when custom columns (cc) were implemented, what I didn't like is that it may cancel cc without notice, for example when at design time a set of cc are set up and this is why it currently enforce the

Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Felipe Monteiro de Carvalho
I think the solution would be having build modes, as already discussed and planned for 0.9.28. I also need this feature. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Mattias Gärtner
Zitat von Reenen Laurie [EMAIL PROTECTED]: When I work cross platform (develop at home on linux, and at work on windows), I have to have separate .lpi / lpr files for linux and windows... My assumption is that this line in the windows (lpi) version makes it not work: RunParams

Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho [EMAIL PROTECTED]: I think the solution would be having build modes, as already discussed and planned for 0.9.28. I also need this feature. build modes are only for compilation. Not for debugging. Maybe you want debug modes? Mattias

Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 3:19 PM, Mattias Gärtner [EMAIL PROTECTED] wrote: build modes are only for compilation. Not for debugging. Maybe you want debug modes? Ummm, now I see ... but they could be the same thing. Some kind of mode where certain compiler options or debugger options are overriden.

Re: [Lazarus] KOL socketclient object

2008-12-09 Thread User
I can´t assign the callbacks: { KOL MCK } // Do not remove this line! {$DEFINE KOL_MCK} {$ifdef FPC} {$mode delphi} {$endif} unit ModuloDatos2; interface uses Windows, Messages, KOL {place your units here-}, lNet {$IFDEF LAZIDE_MCK}, Forms, mirror, Classes, Controls, mckCtrls, mckObjs,

[Lazarus] Trayicon troubles

2008-12-09 Thread Sebastian Kraft
Hello, fiddling around with TTrayicon I discovered some problems. 1. is it possible to have a trayicon with transparent background? I created the icon from a png where the background was transparent but the icon in the panel shows a grey back. 2. How can I show this balloon thing? regards,

Re: [Lazarus] TStringGrid: ColCount vs Columns.Count

2008-12-09 Thread Jesus Reyes
--- El mar 9-dic-08, Alexander Klenin [EMAIL PROTECTED] escribió: De:: Alexander Klenin [EMAIL PROTECTED] Asunto: Re: [Lazarus] TStringGrid: ColCount vs Columns.Count A: [EMAIL PROTECTED] Fecha: martes, 9 diciembre, 2008, 1:10 pm On Wed, Dec 10, 2008 at 03:41, Jesus Reyes [EMAIL

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 6:07 PM, Sebastian Kraft [EMAIL PROTECTED] wrote: 1. is it possible to have a trayicon with transparent background? I created the icon from a png where the background was transparent but the icon in the panel shows a grey back. Which fpc, laz and os version? 2. How can

Re: [Lazarus] Terminal window

2008-12-09 Thread Tom Verhoeff
On Tue, Dec 09, 2008 at 05:02:38PM +0100, Mattias Gärtner wrote: Zitat von Tom Verhoeff [EMAIL PROTECTED]: On Tue, Dec 09, 2008 at 04:08:36PM +0100, svaa wrote: How can I get a to have the GUI program running and a terminal window also? In Project Compiler Options Linking:

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 7:03 PM, Felipe Monteiro de Carvalho I think that GetPosition isn't implemented in all platforms. Test it. Actually it is implemented for gtk2 and win32, so it should work. -- Felipe Monteiro de Carvalho ___ Lazarus mailing

Re: [Lazarus] Terminal window

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 7:07 PM, Tom Verhoeff [EMAIL PROTECTED] wrote: And for Mac OS, in my experience. (Hence, I find the option name misleading.) What does it do in Mac OS? AFAIK you are wrong. This option sets a flag in the Windows executable to indicate that a standard I/O terminal should

[Lazarus] What is current status of fpGUI?

2008-12-09 Thread Aleksa Todorovic
Hi, all! In the team I am part of, we are evaulating several GUI frameworks for our next project. One of the options (and I hope one we will choose, since other member of the team are more into some C++ solution) is to use Lazarus with fpGUI. We need fpGUI, because we need our GUI to be

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: On Tue, Dec 9, 2008 at 7:03 PM, Felipe Monteiro de Carvalho I think that GetPosition isn't implemented in all platforms. Test it. Actually it is implemented for gtk2 and win32, so it should work. I just implemented

Re: [Lazarus] What is current status of fpGUI?

2008-12-09 Thread Michael Van Canneyt
On Tue, 9 Dec 2008, Aleksa Todorovic wrote: Hi, all! In the team I am part of, we are evaulating several GUI frameworks for our next project. One of the options (and I hope one we will choose, since other member of the team are more into some C++ solution) is to use Lazarus with fpGUI.

Re: [Lazarus] Terminal window

2008-12-09 Thread Vincent Snijders
Tom Verhoeff schreef: On Tue, Dec 09, 2008 at 05:02:38PM +0100, Mattias Gärtner wrote: Zitat von Tom Verhoeff [EMAIL PROTECTED]: On Tue, Dec 09, 2008 at 04:08:36PM +0100, svaa wrote: How can I get a to have the GUI program running and a terminal window also? In Project Compiler Options

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
Well, your implementation doesn't work in my system (KDE 3.5), while the previous one does. Unless there is a compeling argument to use the new implementation I propose to revert to the previous one. I appreciate your effort to quick implement the feature, but it was somewhat missguided. To

Re: [Lazarus] What is current status of fpGUI?

2008-12-09 Thread Henry Vermaak
2008/12/9 Aleksa Todorovic [EMAIL PROTECTED]: Hi, all! In the team I am part of, we are evaulating several GUI frameworks for our next project. One of the options (and I hope one we will choose, since other member of the team are more into some C++ solution) is to use Lazarus with fpGUI. We

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well, your implementation doesn't work in my system (KDE 3.5), while the previous one does. Unless there is a compeling argument to use the new implementation I propose to revert to the previous one. I appreciate your effort to quick implement the feature,

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well ... this is already implemented in a cross-platform way in TCustomTrayIcon. The widgetset specific hint should only be implemented if there is a native ballon hint (my plan was to use it only for Windows XP) Any objections to my improving the

Re: [Lazarus] KOL socketclient object

2008-12-09 Thread User
The solution: Delphi mode is used for MCK generated source files. Assign event without @ Conexion.OnError := OnEr; 2008/12/9 User [EMAIL PROTECTED] I can´t assign the callbacks: { KOL MCK } // Do not remove this line! {$DEFINE KOL_MCK} {$ifdef FPC} {$mode delphi} {$endif} unit

Re: [Lazarus] First steps

2008-12-09 Thread Hans-Peter Diettrich
Mattias Gärtner schrieb: No. When a GUI program is started in the IDE, the designed forms stay on the desktop and are overlaid when the windows are created by the application. Moving the runtime form reveals the designtime form, what's very confusing. I see. At the moment there are only

Re: [Lazarus] What is current status of fpGUI?

2008-12-09 Thread Lee Jenkins
Henry Vermaak wrote: 2008/12/9 Aleksa Todorovic [EMAIL PROTECTED]: Hi, all! In the team I am part of, we are evaulating several GUI frameworks for our next project. One of the options (and I hope one we will choose, since other member of the team are more into some C++ solution) is to use

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 9:02 PM, Andrew Haines [EMAIL PROTECTED] wrote: Any objections to my improving the current balloon a bit? I see some issues with text that is too long. Also an indicator of the time left before it closes might be nice. Not at all, fell free to improve it =) I beliave it

Re: [Lazarus] TStringGrid: ColCount vs Columns.Count

2008-12-09 Thread Jesus Reyes
--- El mar 9-dic-08, Alexander Klenin [EMAIL PROTECTED] escribió: what about fixed columns? should indices also count them? Of course. Does not they now? no they don't. Hm. So currently it is impossible to have, say, right-aligned text in fixed column? I'd say it is a bug.