[lazarus] How do I generate the html help for the LCL?

2007-05-10 Thread Graeme Geldenhuys
Hi, How do I generate the html help for the LCL? When I run the lazarus/docs/html/update_html.sh script I get the following error: [EMAIL PROTECTED]:/opt/lazarus/docs/html$ ./update_html.sh + set -e + sh ./update_lcl_html.sh : not foundl_html.sh: 6: set: 8: Illegal option - [EMAIL

Re: [lazarus] How do I generate the html help for the LCL?

2007-05-10 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, How do I generate the html help for the LCL? When I run the lazarus/docs/html/update_html.sh script I get the following error: [EMAIL PROTECTED]:/opt/lazarus/docs/html$ ./update_html.sh + set -e + sh ./update_lcl_html.sh : not foundl_html.sh: 6: set: 8: Illegal

Re: [lazarus] How do I generate the html help for the LCL?

2007-05-10 Thread Graeme Geldenhuys
On 5/10/07, Vincent Snijders [EMAIL PROTECTED] wrote: I run update_lcl_html.sh on its own in the docs/html dir: ./update_lcl_html.sh $FPDOC $LCLFOOTER $FPCDOCSDIR first parameter is the path to the fpdoc executable. second parameter is the path to docs/html/locallclfooter.xml Ah, I tried it

Re: [lazarus] Support for Wince Dialog OK button

2007-05-10 Thread Mattias Gaertner
On Wed, 9 May 2007 13:43:47 +0200 Patrick Chevalley [EMAIL PROTECTED] wrote: 2007/5/8, Mattias Gaertner [EMAIL PROTECTED]: I'm not sure. No other widget set supports forms with Ok buttons. Only close buttons. That's why everyone puts an OK-TButton on every dialog. Right, in this

[lazarus] Errors generating HTML docs from LCL

2007-05-10 Thread Graeme Geldenhuys
Hi, Are these errors normal while generating HTML docs with fpdoc? -- CUT ../../../lcl/buttons.pp(216,77): Expected , or : at token Identifier IsGlyphStored ../../../lcl/calendar.pp(85,65): Expected , or : at token false

Re: [lazarus] Errors generating HTML docs from LCL

2007-05-10 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, Are these errors normal while generating HTML docs with fpdoc? -- CUT ../../../lcl/buttons.pp(216,77): Expected , or : at token Identifier IsGlyphStored ../../../lcl/calendar.pp(85,65): Expected , or : at

Re: [lazarus] Errors generating HTML docs from LCL

2007-05-10 Thread Graeme Geldenhuys
That would probably explain why I have such a lot of missing documentation as well..! For example, in the Dialogs unit html help that I generated locally, I only have 3 types 1 class 0 procedures 0 variables ... and on the Lazarus-ccr website viewing the same Dialogs unit help I can see a

Re: Gtk 2 IDE looking good

2007-05-10 Thread Henry Vermaak
On 09/05/07, Micha Nelissen [EMAIL PROTECTED] wrote: What window manager and gtk 2 theme / style ? this was tested with icewm (theme gertplastic) and latest fpc. i'll try and test it with metacity to see if anything is consistent. i've had some problems with one of the ubuntu themes before,

Re: Gtk 2 IDE looking good

2007-05-10 Thread Henry Vermaak
On 10/05/07, Andrew Haines [EMAIL PROTECTED] wrote: I have problems using fpc 2.3.1(x86_64) with lazarus gtk2. What version of fpc did you compile lazarus with? Try 2.0.4. Also try changing your theme. ah, o.k. will try 2.0.4 too. any ideas about the problems with 2.3.1, or is it a 64 bits

Re: [lazarus] Errors generating HTML docs from LCL

2007-05-10 Thread Graeme Geldenhuys
Ha, the 'fpdoc' version was the culprit. I found and used a older 2.1.1 version and the documentation generates fully without a single error message. Now what has changed in the 2.1.3 version??? Graeme. On 5/10/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: That would probably explain why I

Re: [lazarus] Errors generating HTML docs from LCL

2007-05-10 Thread Vincent Snijders
Graeme Geldenhuys schreef: That would probably explain why I have such a lot of missing documentation as well..! For example, in the Dialogs unit html help that I generated locally, I only have 3 types 1 class 0 procedures 0 variables ... and on the Lazarus-ccr website viewing the same

Re: Gtk 2 IDE looking good

2007-05-10 Thread Henry Vermaak
On 10/05/07, Henry Vermaak [EMAIL PROTECTED] wrote: On 09/05/07, Micha Nelissen [EMAIL PROTECTED] wrote: What window manager and gtk 2 theme / style ? this was tested with icewm (theme gertplastic) and latest fpc. i'll try and test it with metacity to see if anything is consistent. i've had

[lazarus] fpdoc with inherited help

2007-05-10 Thread Graeme Geldenhuys
Hi, Not sure if this question (or feature request) belongs here or in the FPC mailing list. Wouldn't it be handy for fpdoc to populate help based on classes from higher up in the hierarchy, if the descendant class doesn't include its own description. For example: If we documented

[lazarus] [patch] - Documentation update for Dialogs unit

2007-05-10 Thread Graeme Geldenhuys
Hi, Attached is a patch that updates the Dialogs unit documentation. The patch needs to be applied from the root Lazarus directory. Changes: * Removed duplicate documentation nodes from the dialogs.xml file. * Improved the docs and layout of the InputBox docs. * Supplied a external sample

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: Hi, Not sure if this question (or feature request) belongs here or in the FPC mailing list. Wouldn't it be handy for fpdoc to populate help based on classes from higher up in the hierarchy, if the descendant class doesn't include its own

Re: [lazarus] [patch] - Documentation update for Dialogs unit

2007-05-10 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, Attached is a patch that updates the Dialogs unit documentation. The patch needs to be applied from the root Lazarus directory. Changes: * Removed duplicate documentation nodes from the dialogs.xml file. * Improved the docs and layout of the InputBox docs. *

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Graeme Geldenhuys
On 5/10/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Many other things are planned. But guess what the problem is ? :-) I know! I have that same problem ;-) Is there a list of planned things somewhere, or can I add them as feature requests in Mantis (FPC project). Maybe Mantis can

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: On 5/10/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Many other things are planned. But guess what the problem is ? :-) I know! I have that same problem ;-) Is there a list of planned things somewhere, or can I add them as

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Graeme Geldenhuys
On 5/10/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: I don't think that is necessary, just put it in the category docs. Will do. Somehow, all the ones with category docs get assigned to me :-) That's nice of them. :-) I haven't had time to look at the 'writer backend' of fpdoc yet,

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: On 5/10/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: I don't think that is necessary, just put it in the category docs. Will do. Somehow, all the ones with category docs get assigned to me :-) That's nice of them. :-) I haven't

[lazarus] Lazarus software as Linux Service

2007-05-10 Thread [EMAIL PROTECTED]
Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do probably for windows 2) reads writes on a mysql database on the localhost 3) sends some commands to a door (open, close, close on the children's head, ecc) through a tcp

[lazarus] broken snapshot

2007-05-10 Thread Alvise Nicoletti
Hi... trying the last snapshot for windows: Lazarus-0.9.23-fpc-2.1.5-20070510-win32.exe I'm having a lot of the source is corrupted errors. Give a look at it, I only tryed two times and it could be a personal internet problem

Re: [lazarus] Lazarus software as Linux Service

2007-05-10 Thread Marc Santhoff
Am Donnerstag, den 10.05.2007, 16:51 +0200 schrieb Alvise Nicoletti: Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do probably for windows 2) reads writes on a mysql database on the localhost 3) sends some commands to a

[lazarus] Object Inspector crash, and other interesting stuff

2007-05-10 Thread Charl van Jaarsveldt
Hi, I just did an update, haven't been using lazarus for a while so I don't know if it was broken before or not... I start Lazarus, and the OI/PL window has a cool transparent air to it. Looks like the background is draw but the fonts from the window behind it is still shining through. Then

Re: Object Inspector crash, and other interesting stuff

2007-05-10 Thread Charl van Jaarsveldt
I forgot to mention that I have svn r11124 and lazarus is compiled for gtk1, using Ubuntu Feisty. On 5/10/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I just did an update, haven't been using lazarus for a while so I don't know if it was broken before or not... I start Lazarus, and

Re: Object Inspector crash, and other interesting stuff

2007-05-10 Thread pineal
On Thursday 10 May 2007 17:45, Charl van Jaarsveldt wrote: I forgot to mention that I have svn r11124 and lazarus is compiled for gtk1, using Ubuntu Feisty. On 5/10/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I just did an update, haven't been using lazarus for a while so I

Re: [lazarus] Support for Wince Dialog OK button

2007-05-10 Thread Patrick Chevalley
2007/5/10, Mattias Gaertner [EMAIL PROTECTED]: Or, if the 'ok' button of the wince form is merely a 'default' button, then if (TheForm.DefaultControlnil) then TheForm.DefaultControl.ExecuteDefaultAction; Thanks Mattias! , I really like this solution as it also work for mbYes and other.

[lazarus] Converting Strings to Currency

2007-05-10 Thread John Meyer
I tried a search at lazarus.freepascal.org, and it didn't get anywhere, so if somebody could help me out by telling me how I convert a string (specifically, from a TEdit control) to a currency and versey vicey, I'd appreciate it. _

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Andrew Haines
Graeme Geldenhuys wrote: What I would like to do is create a backend that could write to a rtf format to be compiled into .hlp or .chm files, or maybe directly to .chm or some custom (one single compressed file) help format. Soon we (our company) would like to incorporate Context Sensitive

Re: [lazarus] Converting Strings to Currency

2007-05-10 Thread Lee Jenkins
John Meyer wrote: I tried a search at lazarus.freepascal.org, and it didn't get anywhere, so if somebody could help me out by telling me how I convert a string (specifically, from a TEdit control) to a currency and versey vicey, I'd appreciate it. Maybe StrToFloat(AString); ?? -- Warm

Re: [lazarus] Converting Strings to Currency

2007-05-10 Thread John Meyer
Lee Jenkins wrote: John Meyer wrote: I tried a search at lazarus.freepascal.org, and it didn't get anywhere, so if somebody could help me out by telling me how I convert a string (specifically, from a TEdit control) to a currency and versey vicey, I'd appreciate it. Maybe

Re: [lazarus] Converting Strings to Currency

2007-05-10 Thread Sébastien TACK
Thanks! That worked, but I have one question. If you have a Currency type, why are you throwing it to a function named StrToFloat? Why not StrToCur or StrToCurrency? Just asking so I know not to make that mistake in the future. -- The NCP Revue -- http://www.ncprevue.com/blog