Re: [Lazarus] Confused by help

2014-03-24 Thread Graeme Geldenhuys
On 2014-03-24 13:41, Richard Mace wrote: > Hopefully the actuall creating of the .INF file will be a straight > forward process as well :) The DocView help has a section for developers briefly explaining how to create INF files. More detailed information is in the fpGUI code repository in the /doc

Re: [Lazarus] Confused by help

2014-03-24 Thread Richard Mace
> Hi Graeme, > > It looks very interesting. > > How would I instruct DocView to open at a particular section of a help > > file from Lazarus? > > DocView (binary download) comes with an extensive help file explaining > all it's uses (concatenating help files at runtime, defining help as an > envir

Re: [Lazarus] Confused by help

2014-03-23 Thread Graeme Geldenhuys
On 2014-03-23 23:37, Luca Olivetti wrote: > Not as straightforward but it's possible. The thing is, I like things straightforward, cross-platform and developer friendly. ;-) Again, thanks for the info on THelpManager. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using

Re: [Lazarus] Confused by help

2014-03-23 Thread Luca Olivetti
El 23/03/14 19:06, Graeme Geldenhuys ha escrit: > On 2014-03-22 19:35, Luca Olivetti wrote: >> You just have to create a class derived from THelmManager (in unit >> HelpIntfs). > > > Thanks for that info. > > > On a side note: > I see the Lazarus team still didn't update the OnHelp event - whic

Re: [Lazarus] Confused by help

2014-03-23 Thread Graeme Geldenhuys
On 2014-03-23 19:50, Mattias Gaertner wrote: > Please describe where the event should be added, what the parameters > and result do, what the default implementation does, for those people > not having Kylix. Marco explained it. The event should replace the TApplication.OnHelp and TCustomForm.OnHel

Re: [Lazarus] Confused by help

2014-03-23 Thread Marco van de Voort
On Sun, Mar 23, 2014 at 08:50:14PM +0100, Mattias Gaertner wrote: > >[...lots of words, maybe helpful for someone having Kylix 3...] > > I will try to rephrase my question: > Please describe where the event should be added, what the parameters > and result do, what the default implementation does,

Re: [Lazarus] Confused by help

2014-03-23 Thread Mattias Gaertner
On Sun, 23 Mar 2014 19:30:27 + Graeme Geldenhuys wrote: >[...lots of words, maybe helpful for someone having Kylix 3...] I will try to rephrase my question: Please describe where the event should be added, what the parameters and result do, what the default implementation does, for those peo

Re: [Lazarus] Confused by help

2014-03-23 Thread Graeme Geldenhuys
On 2014-03-23 18:57, Mattias Gaertner wrote: > On Sun, 23 Mar 2014 18:06:16 + > Graeme Geldenhuys wrote: > >> [...] >> type >> THelpEvent = function (HelpType: THelpType; HelpContext: Integer; >> HelpKeyword: string; HelpFile: string; var Handled: Boolean): Boolean of >> object; > > Please

Re: [Lazarus] Confused by help

2014-03-23 Thread Mattias Gaertner
On Sun, 23 Mar 2014 18:06:16 + Graeme Geldenhuys wrote: >[...] > type > THelpEvent = function (HelpType: THelpType; HelpContext: Integer; > HelpKeyword: string; HelpFile: string; var Handled: Boolean): Boolean of > object; Please explain, what it should do. Mattias --

Re: [Lazarus] Confused by help

2014-03-23 Thread Graeme Geldenhuys
On 2014-03-22 19:35, Luca Olivetti wrote: > You just have to create a class derived from THelmManager (in unit > HelpIntfs). Thanks for that info. On a side note: I see the Lazarus team still didn't update the OnHelp event - which uses the event signature written for Windows 3.1 help viewers (a

Re: [Lazarus] Confused by help

2014-03-22 Thread Marco van de Voort
On Sat, Mar 22, 2014 at 02:15:44PM +, Richard Mace wrote: > I have uploaded a test.chm file to www.rocksolidpbx.co.uk/downloads if > anyone has the time/interest in taking a look. That file seems to contain GIFs, a format deprecated for a long time. Probably nobody got around to implementing i

Re: [Lazarus] Confused by help

2014-03-22 Thread Luca Olivetti
El 22/03/14 19:59, Graeme Geldenhuys ha escrit: > So you can define numerical or keyword help inside your application - > just like you would do with LCL or VCL applications. I don't know if you > can override the default help viewer in LCL based apps. Sure you can. You just have to create a clas

Re: [Lazarus] Confused by help

2014-03-22 Thread Graeme Geldenhuys
On 2014-03-22 08:46, Reinier Olislagers wrote: > Do you think it's likely CHM support (the default Lazarus help file > format) has been withdrawn without any mention in the release notes? No, but the do seem to make it incredible difficult to use CHM help in applications - whereas HTML help is ea

Re: [Lazarus] Confused by help

2014-03-22 Thread Graeme Geldenhuys
On 2014-03-22 06:51, Richard Mace wrote: > Hi Graeme, > It looks very interesting. > How would I instruct DocView to open at a particular section of a help > file from Lazarus? DocView (binary download) comes with an extensive help file explaining all it's uses (concatenating help files at runtime

Re: [Lazarus] Confused by help

2014-03-22 Thread Graeme Geldenhuys
On 2014-03-22 07:43, Richard Mace wrote: > > Does the "INF" help file format support screen shots? Yes it does. And you can map clickable areas (hotspots) on screenshots too. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Re: [Lazarus] Confused by help

2014-03-22 Thread Richard Mace
I have uploaded a test.chm file to www.rocksolidpbx.co.uk/downloads if anyone has the time/interest in taking a look. Richard On 22 March 2014 10:20, Reinier Olislagers wrote: > On 22/03/2014 11:06, Richard Mace wrote: > > I did look at that wiki page and after I installed the chm components it

Re: [Lazarus] Confused by help

2014-03-22 Thread Reinier Olislagers
On 22/03/2014 11:06, Richard Mace wrote: > I did look at that wiki page and after I installed the chm components it > did load the chm file, but it won't display any images? The FPC ref.chm has images (.pngs); you could check out how these are generated... --

Re: [Lazarus] Confused by help

2014-03-22 Thread Reinier Olislagers
On 22/03/2014 11:06, Richard Mace wrote: > I did look at that wiki page and after I installed the chm components it > did load the chm file, but it won't display any images? I have no idea (haven't used images in CHM myself); perhaps post a sample file somewhere so somebody else could have a look?

Re: [Lazarus] Confused by help

2014-03-22 Thread Richard Mace
I did look at that wiki page and after I installed the chm components it did load the chm file, but it won't display any images? On 22 Mar 2014 08:49, "Reinier Olislagers" wrote: > On 21/03/2014 21:51, Richard Mace wrote: > > Hi All, I am trying to integrate a CHM help file into my application, >

Re: [Lazarus] Confused by help

2014-03-22 Thread Reinier Olislagers
On 21/03/2014 21:51, Richard Mace wrote: > Hi All, I am trying to integrate a CHM help file into my application, Well did you look here http://wiki.lazarus.freepascal.org/Add_Help_to_Your_Application#CHM > but I can only find HTML components in Lazarus 1.2 Is CHM help still > supported or should I

Re: [Lazarus] Confused by help

2014-03-22 Thread Richard Mace
> > > You can always use DocView as well. DocView is a stand-alone help viewer > (no external dependencies). Very fast, and with inline user annotation > support, bookmark support, font customization, advanced search etc. It > reads the INF help file format which is also very easy to author, and >

Re: [Lazarus] Confused by help

2014-03-21 Thread Richard Mace
Hi Graeme, It looks very interesting. How would I instruct DocView to open at a particular section of a help file from Lazarus? Richard On 21 March 2014 22:33, Graeme Geldenhuys wrote: > On 2014-03-21 20:51, Richard Mace wrote: > > Is CHM help still supported or should I be doing just HTML > >

Re: [Lazarus] Confused by help

2014-03-21 Thread Graeme Geldenhuys
On 2014-03-21 20:51, Richard Mace wrote: > Is CHM help still supported or should I be doing just HTML You can always use DocView as well. DocView is a stand-alone help viewer (no external dependencies). Very fast, and with inline user annotation support, bookmark support, font customization, advan

[Lazarus] Confused by help

2014-03-21 Thread Richard Mace
Hi All, I am trying to integrate a CHM help file into my application, but I can only find HTML components in Lazarus 1.2 Is CHM help still supported or should I be doing just HTML Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazar