Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Felipe Monteiro de Carvalho
2011/7/30 Arí Ricardo Ody ar...@gmx.com: It's a hello world like program. It runs ok in windows. When a copy it to my Windows Mobile 6.5 device and run, the screen appears just like in the windows at the desktop, but the mouse is not showed. I can execute the functions via shortcut

Re: [Lazarus] Error running under windows mobile 6.5

2011-07-31 Thread Felipe Monteiro de Carvalho
2011/7/30 Arí Ricardo Ody ar...@gmx.com: Copy “browseslqiteprj.exe”, dbteste.db and slqite3.dll to the directory create in the item 6 above; Which sqlite3.dll? You should use a sqlite3.dll compiled for wince-arm as the one which you can download here:

Re: [Lazarus] Error running under windows mobile 6.5

2011-07-31 Thread Sven Barth
On 31.07.2011 09:51, Felipe Monteiro de Carvalho wrote: 2011/7/30 Arí Ricardo Odyar...@gmx.com: Copy “browseslqiteprj.exe”, dbteste.db and slqite3.dll to the directory create in the item 6 above; Which sqlite3.dll? You should use a sqlite3.dll compiled for wince-arm as the one which you can

Re: [Lazarus] (no subject)

2011-07-31 Thread Howard Page-Clark
On 30/7/11 11:15, Leonardo Rame wrote: Hi, I would like to drag the mouse over a form, while the mouse is dragged, FPos X and Y values must change in the direction of the move, but the mouse cursor must be fixed at the position where the first click was made. This code does more or less what I

Re: [Lazarus] (no subject)

2011-07-31 Thread Bart
As an end-user I would get rather confused if my mouse cursor didn't move anymore when I was moving the mouse. Bart On 7/31/11, Howard Page-Clark h...@talktalk.net wrote: On 30/7/11 11:15, Leonardo Rame wrote: Hi, I would like to drag the mouse over a form, while the mouse is dragged, FPos X

[Lazarus] Determining OS

2011-07-31 Thread Chris Kelling
I'm writing a generic installer for a project, and want to set up things like the registry or system.d depending on the OS type. Is there an environment string, or a function to report what OS the system being hosted on, or do I need to write different versions specifically for the OS? -Chris

Re: [Lazarus] Determining OS

2011-07-31 Thread ik
2011/7/31 Chris Kelling kelli...@cox.net I’m writing a generic installer for a project, and want to set up things like the registry or system.d depending on the OS type. Is there an environment string, or a function to report what OS the system being hosted on, or do I need to write

Re: [Lazarus] Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 ik ido...@gmail.com: Please note that system.d is Fedora implementation (v15) so for Linux you need to detect also the Linux distro, and that's a bit more complicated. Any distro worth using should support the LSB standards. With that being said, you can use the 'lsb_release' command

Re: [Lazarus] Determining OS

2011-07-31 Thread ik
On Sun, Jul 31, 2011 at 17:43, Graeme Geldenhuys graemeg.li...@gmail.comwrote: 2011/7/31 ik ido...@gmail.com: Please note that system.d is Fedora implementation (v15) so for Linux you need to detect also the Linux distro, and that's a bit more complicated. Any distro worth using should

Re: [Lazarus] Determining OS

2011-07-31 Thread Chris Kelling
Thank you for the suggestions so far - $ lsb_release seems to give good information, my Fedora 15 machine returns LSB Version: :core-4.0-ia32:core-4,0-noarch In addition, I did a ls of the /etc directory and found a file called system-release-cpe, Looking in it says

Re: [Lazarus] (no subject)

2011-07-31 Thread Leonardo M . Ramé
On 2011-07-31 15:58:26 +0200, Bart wrote: As an end-user I would get rather confused if my mouse cursor didn't move anymore when I was moving the mouse. Bart I agree, but some times is better to fix the cursor to a specific position. In my case, I have a N x M grid containing images in each

[Lazarus] TTabControl (d)evolution

2011-07-31 Thread Hans-Peter Diettrich
The implementation of the TTabControl seems to cause headaches, and reveals wrong assumptions of the devlopers about the behaviour of that control :-( When I recently submitted an patch, with a new implementation of the TTabControl (named TTabs in the patch), this implementation was tested

Re: [Lazarus] (no subject)

2011-07-31 Thread Leonardo M . Ramé
On 2011-07-31 13:11:49 +0100, Howard Page-Clark wrote: On 30/7/11 11:15, Leonardo Rame wrote: Hi, I would like to drag the mouse over a form, while the mouse is dragged, FPos X and Y values must change in the direction of the move, but the mouse cursor must be fixed at the position where the

[Lazarus] Installer recommendations

2011-07-31 Thread David M. Lawrence
Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. Can ya'll recommend any decent -- preferably free -- replacements? If you like the Windows installer system, can anyone point me to a decent tutorial explaining how to use it? Thanks, Dave --

Re: [Lazarus] Installer recommendations

2011-07-31 Thread Frank Church
On 31 July 2011 17:18, David M. Lawrence d...@fuzzo.com wrote: Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. Can ya'll recommend any decent -- preferably free -- replacements? If you like the Windows installer system, can anyone point me to a

Re: [Lazarus] (no subject)

2011-07-31 Thread Hans-Peter Diettrich
Leonardo M. Ramé schrieb: On 2011-07-31 15:58:26 +0200, Bart wrote: As an end-user I would get rather confused if my mouse cursor didn't move anymore when I was moving the mouse. Bart I agree, but some times is better to fix the cursor to a specific position. In my case, I have a N x M grid

Re: [Lazarus] TTabControl (d)evolution

2011-07-31 Thread Felipe Monteiro de Carvalho
On Sun, Jul 31, 2011 at 6:49 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: IMO we should accept that a Delphi compatible TTabControl doesn't exist yet, for widgetsets other than Win32. What can/should we do, when it turns out that such a control can not be implemented in all widgetsets?

Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Joshua Lim
Hi Kjow, I downloaded the latest script, ran again, went fine until after reboot. I ran the script again, and it crashed at different points. Please advise, thanks. A lazarus\examples\canvas_test\rectanglestest.pas A lazarus\examples\canvas_test\shapedwindowtest.lfm A

Re: [Lazarus] Installer recommendations

2011-07-31 Thread Graeme Geldenhuys
On 31 July 2011 18:18, David M. Lawrence wrote: InstallShield.  Can ya'll recommend any decent -- preferably free -- replacements? http://www.installjammer.com/ https://sourceforge.net/projects/mseinstaller/ Never used any of them, but they are open source and free. The latter one is

Re: [Lazarus] Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 ik : I'm using Arch Linux and that is my output: $ lsb_release LSB Version:    n/a Under Ubuntu 8.04 the 'lsb_release' command on it's own doesn't give any usable output either. You need to specify a parameter. eg: $ lsb_release -a See 'lsb_release

Re: [Lazarus] Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 Chris Kelling : $ lsb_release seems to give good information, my Fedora 15 machine returns LSB Version: :core-4.0-ia32:core-4,0-noarch Specify some of the other parameters in the 'lsb_release' command and you will get the exact information your are looking for, on any distro

[Lazarus] RE : Determining OS

2011-07-31 Thread Ludo Brands
Have you tried uname? This works on virtually all unix platforms. Here http://en.wikipedia.org/wiki/Uname you'll find a sample output given by different unix flavors. My Fedora 13 64bit gives for uname -r : 2.6.34.7-56.fc13.x86_64 lsb_release on ubuntu 10 64 bit says: no LSB modules are

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 Ludo Brands ludo.bra...@free.fr: Have you tried uname? That only gives you the kernel version. lsb_release on ubuntu 10 64 bit says: no LSB modules are available. On debian lenny for arm: command not found... Don't you guys READ!!! I specifically showed the parameters you need to

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-31 Thread David M. Lawrence
Excuse me for being slow, but where do I find this update? I haven't figured all this out. Dave On 7/30/2011 2:47 AM, Alexander Klenin wrote: On Fri, Jul 29, 2011 at 18:34, Alexander Kleninkle...@gmail.com wrote: On Fri, Jul 29, 2011 at 16:45, David M. Lawrenced...@fuzzo.com wrote:

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread Chris Kelling
I am looking to distribute my software to pc, linux, unix, and mac users. I'm using the registry in Windows, and was going to use systemd for linux. From what I'm gathering, it would be best to just do a simple config or ini file in the root directory of the program. I'm thinking that when

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread ik
2011/7/31 Chris Kelling kelli...@cox.net I am looking to distribute my software to pc, linux, unix, and mac users. I’m using the registry in Windows, and was going to use systemd for linux. From what I’m gathering, it would be best to just do a simple config or ini file in the root

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread Eduardo
Yes, you are definily doing it wrong. You shouldn't even have a installer for Linux. Programs in Linux with installers are just weird... Let the package manager do what a installer would do for you (you can have custom scripts in the package manager if that's strictly necessary, but it

[Lazarus] RE : RE : Determining OS

2011-07-31 Thread Ludo Brands
lsb_release on ubuntu 10 64 bit says: no LSB modules are available. On debian lenny for arm: command not found... Don't you guys READ!!! I specifically showed the parameters you need to specify with the 'lsb_release' command so you DO GET THE RIGHT OUTPUT. Try this: $

Re: [Lazarus] Determining OS

2011-07-31 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: The LSB (Linux Standards Base) and the FreeDesktop.org standards aretrying to make all distros more compliant with a set of standards -making the life of any ISV and lone software developer MUCH easier.LSB and FreeDesktop.org are supported by most mainstream distros

Re: [Lazarus] Installer recommendations

2011-07-31 Thread Henry Vermaak
On 31 July 2011 17:18, David M. Lawrence d...@fuzzo.com wrote: Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield.  Can ya'll recommend any decent -- preferably free -- replacements?  If you like the Windows installer system, can anyone point me to a

Re: [Lazarus] RE : RE : Determining OS

2011-07-31 Thread Mark Morgan Lloyd
Ludo Brands wrote: lsb_release on ubuntu 10 64 bit says: no LSB modules are available. On debian lenny for arm: command not found... Don't you guys READ!!! I specifically showed the parameters you need to specify with the 'lsb_release' command so you DO GET THE RIGHT OUTPUT. Try this:

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 ik : $ lsb_release -a LSB Version:    n/a Distributor ID: n/a Description:    (none) Release:    n/a Codename:   n/a OK, my apologies. It's just that if I run the 'lsb_release' command on it's own with no parameters, I too get useless information - even from Ubuntu 8.04

Re: [Lazarus] RE : Determining OS

2011-07-31 Thread Graeme Geldenhuys
2011/7/31 Chris Kelling : I am looking to distribute my software to pc, linux, unix, and mac users. I’m using the registry in Windows, and was going to use systemd for linux. Use the RTL function GetAppConfigDir(True) - this will normally return '/etc' under Linux and any Unix system.

Re: [Lazarus] Installer recommendations

2011-07-31 Thread Graeme Geldenhuys
On 31 July 2011 22:39, Henry Vermaak wrote: It's an interface to the Windows Installer where you define all the specifics of your project in an XML file.  It the compiles and links into an msi file. I can't comment on WiX (never knew about it), but I can say our company had terrible

Re: [Lazarus] Determining OS

2011-07-31 Thread Graeme Geldenhuys
On 31 July 2011 23:10, Marco van de Voort wrote: Any distro worth using should support the LSB standards. With that being said, you can use the 'lsb_release' command to find out exactly what distribution and version is being used. Not installed by default on Fedora 15: I did say a distro

Re: [Lazarus] TTabControl (d)evolution

2011-07-31 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: IMO we should accept that a Delphi compatible TTabControl doesn't exist yet, for widgetsets other than Win32. What can/should we do, when it turns out that such a control can not be implemented in all widgetsets? I bet that it can be implemented in all

Re: [Lazarus] Installer recommendations

2011-07-31 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 31 July 2011 22:39, Henry Vermaak wrote: It's an interface to the Windows Installer where you define all the specifics of your project in an XML file. It the compiles and links into an msi file. I can't comment on WiX (never knew about it), but I can say our

Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Hans-Peter Diettrich
Joshua Lim schrieb: set OLDDIR=%CD% set PATHDEST=C:\Develop set PATH=%PATHDEST%\fpc\binutils\;%PATH% I have only the really required folders in the path, when building FPC or Lazarus. REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc svn co

Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Flávio Etrusco
On Sun, Jul 31, 2011 at 10:02 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Joshua Lim schrieb: set OLDDIR=%CD% set PATHDEST=C:\Develop set PATH=%PATHDEST%\fpc\binutils\;%PATH% I have only the really required folders in the path, when building FPC or Lazarus. REM svn co

Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Arí Ricardo Ody
- Original Message - Which device are you using? It has no touch screen? You attached a external mouse to it? Samsung GT-b7320L Omnia Pro Messenger Phone running Windows Mobile 6.5. No it's a smart phone without touch screen. There is no external mouse. There is a kind of joystick

[Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-07-31 Thread John Repucci
I have a fixed row in my SG with the titles for the columns, but when I do a SG.clear, the fixed rows are deleted. I understand why that is happening (the so-called fixed rows are just row [0] within the SG). However, it would be nice if the fixed rows were not affected by the clear. Am I missing

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-31 Thread Alexander Klenin
On Mon, Aug 1, 2011 at 04:52, David M. Lawrence d...@fuzzo.com wrote: Excuse me for being slow, but where do I find this update?  I haven't figured all this out. http://wiki.lazarus.freepascal.org/Getting_Lazarus -- Alexander S. Klenin -- ___

Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Felipe Monteiro de Carvalho
2011/8/1 Arí Ricardo Ody ar...@gmx.com: Does the mouse show on other applications? Of course. In the pages of the Bradesco Bank or the Banrisul bank I can point the mouse to very different places in the screen and click. After I point to other place and click again and so on. That does not