Re: [Lazarus] Setting a cursor from resource

2011-03-23 Thread patspiper
On 03/24/2011 05:38 AM, Paul Ishenin wrote: 23.03.2011 21:01, Paul Ishenin wrote: 23.03.2011 18:54, patspiper wrote: EInvalidGraphic: Stream is not an icon type I will do a test tomorow. Is the code above compatible with both RT_CURSOR and RT_GROUP_CURSOR resources? I tested it with icons o

Re: [Lazarus] Setting a cursor from resource

2011-03-23 Thread Paul Ishenin
23.03.2011 21:01, Paul Ishenin wrote: 23.03.2011 18:54, patspiper wrote: EInvalidGraphic: Stream is not an icon type I will do a test tomorow. Is the code above compatible with both RT_CURSOR and RT_GROUP_CURSOR resources? I tested it with icons only. I see from the code that instead of RT_C

Re: [Lazarus] Where is the unit path of the IDE configured?

2011-03-23 Thread Mattias Gaertner
On Wed, 23 Mar 2011 21:11:43 + Frank Church wrote: > I am trying to install the Indy package, and I am getting the error that to > copies of the same file exist in the IDE > > I have to versions of Lazarus installed and it appears that the path of the > other installation has been set somewh

[Lazarus] Where is the unit path of the IDE configured?

2011-03-23 Thread Frank Church
I am trying to install the Indy package, and I am getting the error that to copies of the same file exist in the IDE I have to versions of Lazarus installed and it appears that the path of the other installation has been set somewhere in the IDE options of the one I am currently using. How do I c

Re: [Lazarus] Indy compilation problem revisited.

2011-03-23 Thread Mattias Gaertner
On Wed, 23 Mar 2011 20:47:36 + Frank Church wrote: > On 23 March 2011 20:43, Frank Church wrote: > > > > > > > On 23 March 2011 16:20, Frank Church wrote: > > > >> > >> > >> On 22 March 2011 18:15, Mattias Gaertner wrote: > >> > >>> On Wed, 23 Mar 2011 00:44:43 +1100 > >>> Peter Williams

Re: [Lazarus] Indy compilation problem revisited.

2011-03-23 Thread Frank Church
On 23 March 2011 20:43, Frank Church wrote: > > > On 23 March 2011 16:20, Frank Church wrote: > >> >> >> On 22 March 2011 18:15, Mattias Gaertner wrote: >> >>> On Wed, 23 Mar 2011 00:44:43 +1100 >>> Peter Williams wrote: >>> >>> >[...] >>> > >Recompiling IdStreamVCL, checksum changed for IdGlob

Re: [Lazarus] Indy compilation problem revisited.

2011-03-23 Thread Frank Church
On 23 March 2011 16:20, Frank Church wrote: > > > On 22 March 2011 18:15, Mattias Gaertner wrote: > >> On Wed, 23 Mar 2011 00:44:43 +1100 >> Peter Williams wrote: >> >> >[...] >> > >Recompiling IdStreamVCL, checksum changed for IdGlobal >> > >IdStreamVCL.pas(13,20) Fatal: Can't find unit IdStrea

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Geoffray Levasseur kirjoitti keskiviikko, 23. maaliskuuta 2011 15:52:55: > The only problem with Sabayon is the limited number of packages (but all > the usual things are here anyway). For some more rare packages it's easy > to compile as dev files are always included with all the libraries (due to

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Geoffray Levasseur kirjoitti keskiviikko, 23. maaliskuuta 2011 20:54:09: > With Sabayon KDE is very up-to-date (actually 4.6.1 which is > the last stable). Still, Sabayon is not as on-the-edge as Gentoo. The packages are tested in Gentoo repos for some time before they and up to Sabayon repos.

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Torsten Bonde Christiansen kirjoitti keskiviikko, 23. maaliskuuta 2011 > Sorry for the confusion - WM = Window Manager, hence the reference to > Gnome, KDE, etc. > > Your WM is KDE then... ;) Yes, sorry. I like KDE because of its better design which will be visible also for users more and more.

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-23 Thread Kjow
2011/3/23 Tobias Giesen : > Or at least can I cross-compile my app? > > The target will be ARM-Ubuntu, not ARM-WinCE ;=) http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] FPC and Lazarus on ARM

2011-03-23 Thread Tobias Giesen
Hello, I now have a netbook computer with an ARM processor running Ubuntu. Ideally I would like to install FPC and Lazarus on it and do native ARM development. I wonder if it might be possible. Can I cross-compile FPC to get a native FPC running on ARM? Or at least can I cross-compile my app? Th

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Geoffray Levasseur
Le mercredi 23 mars 2011 19:31:23, Reimar Grabowski a écrit : > KWin for KDE (if they did not change it in their newest version) Yes it's still KWin as the window manager. Plasma is the desktop manager. They are both using compositing and OpenGL when available for desktop effect with plug-in syst

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Reimar Grabowski
On Wed, 23 Mar 2011 18:57:59 +0100 Torsten Bonde Christiansen wrote: > Your WM is KDE then... ;) Actually neither KDE nor Gnome nor Enlightenment are window managers. They are desktop environments which each come with their own WM. Compiz or Metacity for Gnome, KWin for KDE (if they did not cha

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Torsten Bonde Christiansen
On 2011-03-23 16:20, Juha Manninen wrote: 2011/3/23, Torsten Bonde Christiansen: Which WM do you use with it? No VM. It is my main distro now because the other main distros refused to work in my exotic 3-core AMD64 machine. That is a longer story but some feature in recent kernels halted my sys

Re: [Lazarus] Indy compilation problem revisited.

2011-03-23 Thread Frank Church
On 22 March 2011 18:15, Mattias Gaertner wrote: > On Wed, 23 Mar 2011 00:44:43 +1100 > Peter Williams wrote: > > >[...] > > >Recompiling IdStreamVCL, checksum changed for IdGlobal > > >IdStreamVCL.pas(13,20) Fatal: Can't find unit IdStreamVCL used by > IdStream > > You can try compiling the Indy

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha Manninen
2011/3/23, Torsten Bonde Christiansen : > Which WM do you use with it? No VM. It is my main distro now because the other main distros refused to work in my exotic 3-core AMD64 machine. That is a longer story but some feature in recent kernels halted my system. Only Sabayon did not halt for some my

[Lazarus] EM_SCROLLCARET

2011-03-23 Thread patspiper
Hi, EM_SCROLLCARET Windows message scrolls a TMemo caret into view. EM_SCROLL Windows message (equivalent to WM_VSCROLL) can be used to scroll a TMemo one line up or down. How can the same be done cross-platform? Stephano -- ___ Lazarus mailing lis

Re: [Lazarus] Setting a cursor from resource

2011-03-23 Thread Paul Ishenin
23.03.2011 18:54, patspiper wrote: EInvalidGraphic: Stream is not an icon type I will do a test tomorow. Is the code above compatible with both RT_CURSOR and RT_GROUP_CURSOR resources? I tested it with icons only. I see from the code that instead of RT_CURSOR for TCursorImage it will use RT_

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Geoffray Levasseur
Le mercredi 23 mars 2011 13:50:31, Juha (gmail) a écrit : > Hi > > This is not really Lazarus related but I found a Linux distro that works > well without any tweaking and runs fast. > I think it is OK to advertise an open source project when you see a good > one. > > It is called Sabayon Linux.

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Torsten Bonde Christiansen
Hi Juha Which WM do you use with it? As far as i can tell from my local ftp download site, there are ISO's for: Gnome, Enlightenment, KDE, LXDE and XFCE Happy linuxing, Torsten Bonde Christiansen. On 2011-03-23 13:50, Juha (gmail) wrote: Hi This is not really Lazarus related but I found a Li

[Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Hi This is not really Lazarus related but I found a Linux distro that works well without any tweaking and runs fast. I think it is OK to advertise an open source project when you see a good one. It is called Sabayon Linux. It has a good installer, too. It is based on Gentoo Linux which is rather

Re: [Lazarus] Setting a cursor from resource

2011-03-23 Thread patspiper
On 03/23/2011 01:20 PM, Paul Ishenin wrote: 23.03.2011 17:25, patspiper wrote: How can a control's cursor be set from a resource file? The code below does not work, although the resource itself is found and loaded. Panel1.cursor := LoadCursor(0, 'CURSOR_NAME'); The same way as in delphi: co

Re: [Lazarus] Setting a cursor from resource

2011-03-23 Thread Paul Ishenin
23.03.2011 17:25, patspiper wrote: How can a control's cursor be set from a resource file? The code below does not work, although the resource itself is found and loaded. Panel1.cursor := LoadCursor(0, 'CURSOR_NAME'); The same way as in delphi: const MyUserCursor = 1; Screen.Cursors[MyUser

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-23 Thread Alexander Klenin
2011/3/23 Michael Van Canneyt : >> Now I just have to figure out how to draw text on FPCanvas... > > You need the ftfont, freetype, freetypeh units. Then create a TFreetypeFont > instance, assign to canvas.font, and call TextRect() or whatever you would > call normally. > Thanks for the pointer. I

[Lazarus] Setting a cursor from resource

2011-03-23 Thread patspiper
Hi, How can a control's cursor be set from a resource file? The code below does not work, although the resource itself is found and loaded. Panel1.cursor := LoadCursor(0, 'CURSOR_NAME'); function LoadCursor(hInstance: HINST; lpCursorName: pchar): HCURSOR; var ResType: TResourceType; ResHand

[Lazarus] Geckoport Lazarus/Delphi

2011-03-23 Thread José Mejuto
Hello Lazarus-List, I'm working in the Lazarus GeckoPort but recently tried to make it compile and work in Delphi again and I found a strange problem, I know it is not a problem with Lazarus, but here there are some people with very good skills in windows programming. In Lazarus SVN my test code

Re: [Lazarus] Fixing of SDL.PAS under WINCE

2011-03-23 Thread Robin Hoo
Hi, Peter First of all it's working with SDL 1.2, and I'm not sure if it's working for 1.3. And the sdl.dll/sdl_image.dll should be ready when you try to run your program. It's out of the discussion of my mail. You could download the wince build from internet or compile by your self with the sourc

Re: [Lazarus] Fixing of SDL.PAS under WINCE

2011-03-23 Thread Peter Williams
Hi Robin, Date: Wed, 23 Mar 2011 12:25:06 +0800 From: robin.hoo...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] Fixing of SDL.PAS under WINCE >Hi, All >I'm doing some development of WINCE stuff with sdl. And I found the original >SDL.PAS is not supported WINCE for the s