Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 6-3-2013 0:43, Alejandro Gonzalo wrote: > If you only will be using Windows, you can use: > > ShellExecute(HWND(nil),nil,PChar('myFile.pdf'),PChar(''),nil ,1); > > You will need ShellAPI in the uses clause. > OpenDocument calls OpenURL which calls ShellExecute (Laz trunk version below)

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 6-3-2013 0:19, Bart wrote: > On 3/5/13, Bart wrote: > I patched OpenURL on Windows to quote the URL if it is in file:// URI > schem and contains spaces on NT platform. > This should fix the original issue of > http://bugs.freepascal.org/view.php?id=21659 Nice - I updated http://wiki.lazarus.fre

Re: [Lazarus] XanaNews port to Lazarus

2013-03-05 Thread Martin Schreiber
On Tuesday 05 March 2013 21:57:46 Graeme Geldenhuys wrote: > Please note... in most cases these types of programs work fine in their > email "mode", but their NNTP support seems to lag far behind. This is > why I am now looking at dedicated NNTP-only clients as well. > KNode from KDE 3.5? Works we

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Alejandro Gonzalo
If you only will be using Windows, you can use:   ShellExecute(HWND(nil),nil,PChar('myFile.pdf'),PChar(''),nil ,1);   You will need ShellAPI in the uses clause.   A. G. > > From: John >To: Lazarus mailing list >Sent: Tuesday, March 5, 2013 3:23 PM >Subject:

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread John
On 03/06/2013 04:49 AM, Bart wrote: On 3/5/13, John wrote: I want to open a tiff file using what ever viewer the PC knows about that can do it (it will be irfanview on the test PC). It seemed that "OpenDocument" is the appropriate method. This works fine so long as the path has no spaces, b

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
On 3/5/13, Bart wrote: > The original bugreport was about OpenUrl. > And thing went sour (for 9x) when the file:// URI scheme was used and > it was quoted, and it seemed it needed quoting on some NT based > systems. I patched OpenURL on Windows to quote the URL if it is in file:// URI schem and

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
On 3/5/13, Reinier Olislagers wrote: > Mmm, I don't really understand this part: > > The article discusses opendocument, not openurl!?!? Why would you pass > file://whatever in an opendocument call? The original bugreport was about OpenUrl. And thing went sour (for 9x) when the file:// URI sche

Re: [Lazarus] copying version info, [was: Re: Ok I give up!]

2013-03-05 Thread stdreamer
On 5/3/2013 9:00 μμ, Martin wrote: On 05/03/2013 18:53, stdreamer wrote: I just recently installed a snapshot version of Lazarus on Windows (I cannot copy the version number from the "about" window because I cannot select text. Why?). Just right click any where on the version tab and use the p

Re: [Lazarus] XanaNews port to Lazarus

2013-03-05 Thread stdreamer
On 5/3/2013 10:07 μμ, Graeme Geldenhuys wrote: Hi, I have a growing frustration with NNTP news clients. The ones I have tested, and the list is long, are quite appalling. Each one has somewhere a flaw I simply can't overlook any more. I now want something I can fix myself if needed. Anyway, I a

Re: [Lazarus] XanaNews port to Lazarus

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-05 20:41, Misha Padalka wrote: > > Did you tried Opera Mail (a component of Opera browser)? Yes, the email client is nice, the NNTP client is not so nice. Some issues with Opera NNTP client [off the top of my head]... I have to manually mark messages as Read (I can't for the life figur

Re: [Lazarus] XanaNews port to Lazarus

2013-03-05 Thread Misha Padalka
Tue, 05 Mar 2013 22:07:25 +0200 було написано Graeme Geldenhuys : Hi, I have a growing frustration with NNTP news clients. The ones I have tested, and the list is long, are quite appalling. Each one has somewhere a flaw I simply can't overlook any more. I now want something I can fix myself i

[Lazarus] XanaNews port to Lazarus

2013-03-05 Thread Graeme Geldenhuys
Hi, I have a growing frustration with NNTP news clients. The ones I have tested, and the list is long, are quite appalling. Each one has somewhere a flaw I simply can't overlook any more. I now want something I can fix myself if needed. Anyway, I am thinking of starting such a project. But to sav

[Lazarus] copying version info, [was: Re: Ok I give up!]

2013-03-05 Thread Martin
On 05/03/2013 18:53, stdreamer wrote: I just recently installed a snapshot version of Lazarus on Windows (I cannot copy the version number from the "about" window because I cannot select text. Why?). Just right click any where on the version tab and use the popup menu to copy. (again I could

Re: [Lazarus] Ok I give up!

2013-03-05 Thread stdreamer
On 5/3/2013 8:01 μμ, Jürgen Hestermann wrote: Am 2013-03-05 13:57, schrieb Reinier Olislagers: > Please don't post this kind of stuff. Instead help make Lazarus better > by raising bug reports with concrete issues and preferably patches. Sorry if I am as frustrated too. But mostly when I point

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 19:26, Bart wrote: > On 3/5/13, Reinier Olislagers wrote: >> http://wiki.lazarus.freepascal.org/opendocument > > I took the liberty to slightly alter the text. Mmm, I don't really understand this part: Also on Windows, opening a file using the file:// URI scheme may fail if there a

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 19:26, Bart wrote: > On 3/5/13, Reinier Olislagers wrote: > >> It was blocked due to the patch not being Win9x compatible. AFAIK, after >> a long discussion (I think on this ML) it has since been decided that >> whoever is interested in maintaining Win9x compatibility should do so >>

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 18:49, Bart wrote: > On 3/5/13, John wrote: > >> I want to open a tiff file using what ever viewer the PC knows about >> that can do it (it will be irfanview on the test PC). It seemed that >> "OpenDocument" is the appropriate method. This works fine so long as >> the path has no s

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
On 3/5/13, Reinier Olislagers wrote: > It was blocked due to the patch not being Win9x compatible. AFAIK, after > a long discussion (I think on this ML) it has since been decided that > whoever is interested in maintaining Win9x compatibility should do so > himself and not require others to adapt

[Lazarus] Another help problem, was Re: Ok I give up!

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 19:01, Jürgen Hestermann wrote: > Am 2013-03-05 13:57, schrieb Reinier Olislagers: > I just recently installed a snapshot version of Lazarus on Windows (I > cannot copy > the version number from the "about" window because I cannot select text. > Why?). Crystal ball in the shop. Please r

Re: [Lazarus] Ok I give up!

2013-03-05 Thread Jürgen Hestermann
Am 2013-03-05 13:57, schrieb Reinier Olislagers: > Please don't post this kind of stuff. Instead help make Lazarus better > by raising bug reports with concrete issues and preferably patches. Sorry if I am as frustrated too. But mostly when I pointed to whatever issue either noone was interested

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
On 3/5/13, John wrote: > I want to open a tiff file using what ever viewer the PC knows about > that can do it (it will be irfanview on the test PC). It seemed that > "OpenDocument" is the appropriate method. This works fine so long as > the path has no spaces, but OpenDocument calls OpenURL,

Re: [Lazarus] Ready-made lhelp after SVN update was: Re: Help with... help!

2013-03-05 Thread waldo kitty
On 3/5/2013 01:54, Reinier Olislagers wrote: On 4-3-2013 20:16, waldo kitty wrote: On 3/4/2013 04:46, Reinier Olislagers wrote: On 2-3-2013 17:51, waldo kitty wrote: On 3/2/2013 00:20, Reinier Olislagers wrote: that's too much... my script already does the following specifically to not use bi

Re: [Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-05 Thread Hans-Peter Diettrich
Frank Church schrieb: How do Lazarus users handle exceptions in procedures which are running in data modules? A lot of the guides and examples demonstrate raising exceptions, which generally display dialogs to the user that an exception has occurred. Sample code showing an error message is *no

[Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-05 Thread Frank Church
How do Lazarus users handle exceptions in procedures which are running in data modules? A lot of the guides and examples demonstrate raising exceptions, which generally display dialogs to the user that an exception has occurred. But what is the best way to handle them if they occur inside data mo

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 15:22, John wrote: > I notice there was considerable discussion about this around bug 21659 > about a year ago, but I could not work out what the outcome was. It was blocked due to the patch not being Win9x compatible. AFAIK, after a long discussion (I think on this ML) it has since bee

Re: [Lazarus] Ok I give up!

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 15:08, appjaws wrote: > On 05/03/13 12:50, Reinier Olislagers wrote: > >>> >>> Is F1 the only way to access the integrated help? >> Yep. Do note that you need to put the cursor on a keyword (e.g. begin, >> or for or while...). > > Maaaybe I have the wrong expectations with regard

[Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread John
Hi List, Using Laz 1.0.6, "included" fpc2.6.0 on win 7 - 32 bit: I want to open a tiff file using what ever viewer the PC knows about that can do it (it will be irfanview on the test PC). It seemed that "OpenDocument" is the appropriate method. This works fine so long as the path has no sp

Re: [Lazarus] Ok I give up!

2013-03-05 Thread appjaws
On 05/03/13 12:50, Reinier Olislagers wrote: Is F1 the only way to access the integrated help? Yep. Do note that you need to put the cursor on a keyword (e.g. begin, or for or while...). Maaaybe I have the wrong expectations with regard to the Help system. If I press F1 with begin clicke

Re: [Lazarus] Ok I give up!

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 13:45, Jürgen Hestermann wrote: > > Am 2013-03-05 13:29, schrieb appjaws: >> Is F1 the only way to access the integrated help? >> >> Why is this so difficult? Why isn't it automatically installed >> when Lazarus is installed? >> >> Any other ideas? regards frustrated Paul >> > Yes,

Re: [Lazarus] Ok I give up!

2013-03-05 Thread Reinier Olislagers
On 5-3-2013 13:29, appjaws wrote: > On 04/03/13 18:20, Reinier Olislagers wrote: >> On 4-3-2013 16:54, appjaws wrote: >>> On 04/03/13 11:28, Reinier Olislagers wrote: On 4-3-2013 12:21, appjaws wrote: > On 02/03/13 17:21, Reinier Olislagers wrote: >> On 2-3-2013 17:41, appjaws wrote: >

Re: [Lazarus] Ok I give up!

2013-03-05 Thread Jürgen Hestermann
Am 2013-03-05 13:29, schrieb appjaws: Is F1 the only way to access the integrated help? Why is this so difficult? Why isn't it automatically installed when Lazarus is installed? Any other ideas? regards frustrated Paul Yes, I feel the same. I used TurboPascal and Delphi over decades and ther

Re: [Lazarus] Ok I give up!

2013-03-05 Thread appjaws
On 04/03/13 18:20, Reinier Olislagers wrote: On 4-3-2013 16:54, appjaws wrote: On 04/03/13 11:28, Reinier Olislagers wrote: On 4-3-2013 12:21, appjaws wrote: On 02/03/13 17:21, Reinier Olislagers wrote: On 2-3-2013 17:41, appjaws wrote: Any ideas on the built in help, I'm using linux with la

[Lazarus] Ubuntu 12.10 install problem

2013-03-05 Thread Sipos András
Hi Guys, My Ubuntu version: 12.10, KDE. I have some problem about lazarus+fpc install/upgrade. 1) Setup via PPA: https://launchpad.net/~prof7bit/+archive/lazarus-1.0.0 2) sudo apt-get install lazarus Beállítás: fpc (