I'm creating the help file for an application written in Delphi Firemonkey. Unfortunately I have discovered that Firemonkey APPLICATION class doesn't have the HelFile property that the VCL equivalent has, so it seems to not be possible to include a help file with the application. I would like to know if someone has dealt with this problem and which is the better strategy to solve this. I thought to write a launcher in VCL console mode. The launcher is started from the main application with some parameters including the help topic code. This launcher links the HELP file, so the only thing it does is to start the help and then terminate itself. but this solution seems tricky to me. I was wondering if a better solution exists.
Adding a Help file in Firemonkey applications
123 views Asked by Sergio Bonfiglio At
1
There are 1 answers
Related Questions in FIREMONKEY
- How to MakeScreenshot fullpage on Delphi
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- Tlabeledit component for FMX framework
- Fastest way to draw a wave distortion effect in Delphi FMX?
- Delphi FMX Android Printing with Sunmi V2 Device
- How to debug on Android device via WI-FI
- Default Text Property for Custom Button in Delphi
- How to capture Enter key (vkReturn) in Delphi FMX on Android?
- Getting list of devices plugged in in a pc (windows platform)
- Delphi FMX: How to write a custom shader filter?
- NetCom7 Chat Demo
- .dylib not Found Trying to Open the Program After Being Generated by PAServer
- Delphi - TakePhotoFromCameraAction - photo resolution
- How do I determine the "z-index" of a Firemonkey component that I have used SendToBack or BringToFront methods on?
Related Questions in CHM
- Extract list of heading with its containing pages info from HHC file
- Html page not showing up in .chm built using Sandcastle Help File Builder
- Adding a Help file in Firemonkey applications
- How to view chm file in a web browser?
- chm help file generated by doxygen can't display its content
- Include mathjax equations in CHM file
- Convert CHM file to WinHelp (.HLP)
- HelpNDoc : Problem to generate CHM format help - Error HHC5010
- Can an old CHM file be updated to work with Windows 10?
- How can I get a list of help context IDs used in a CHM help file?
- Python documentation in CHM
- RoboHelp is missing ouput preset for CHM generation
- Problem with EXCEL MacroOptions method to assign help file to UDF
- How to Migrate from Microsoft HTML Help Workshop 1.4 (.chm) to new Help Viewer (.mshc) format, directly or indirectly
- extract lzx files in the browser
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I've dived deeply into the source code, and although I don't fully understand it, I found some interesting things. I don't have a custom help file to test with, but hopefully you can make this work.
The first interesting thing that I found is that there is a unit called
System.HelpIntfs. That is, this is aSystemunit, not avclunit, so you'd expect it to be usable with FMX.In order to call the Windows HTMLHelp system from FMX, you need to first call
GetHelpSystem(), passing as anoutparameter aniHelpSystem,iHelpSystem2, oriHelpSystem3variable. You can then use the returned result to call for help.However, when I tried this, it mostly failed, because the returned result is supposed to contain a list of help viewers, but that list was empty. I then found that the list can be populated with one entry for the Windows HTMLHelp by using the unit
vcl.HtmlHelpViewer. What is interesting here is that, despite the name, this unit has no vcl dependencies! The only units it uses areSystem.Classes,System.HelpIntfs,System.SysUtils, andWinapi.Windows.vcl.HtmlHelpViewercreates the viewer object and registers it in itsInitializationsection, so all you have to do with this is include it.I have assumed that you have populated your controls' .
HelpContextorHelpKeywordproperties.Your code will need to be something like this:
Presumably you'll want to move some of that (such as the
HelpFileNameconstant) somewhere else and add some more error checking, but this should give you the idea, and I hope you can get it working.