This is a native library that allows you to display HTML help files from inside your app. The files can contains images, or other features supported in html pages. I'm sure it will need some tweeking for some, but it works for me. Let me know what you think.
Version 1.01 Added 2 new methods
MLHelp
Author: Jem Miller
Version: 1.01
There is a small sample app included in the zip file.
Version 1.00 - Initial release.
Version 1.01 - Fixed the spelling on TitleSize, and added isInitialized and LoadWebPage methods. You can now load remote web pages, but be aware that the same PageFinished event is used for both local and remote pages. Also modified the mlhelptest project slightly.
-
Version 1.01 Added 2 new methods
MLHelp
Author: Jem Miller
Version: 1.01
- MLHelp
Events:- OverrideUrl (Url As String))
- PageFinished (Url As String)
- UserAndPasswordRequired (Host As String, Realm As String))
- Back
Back one page - Forward
Forward one page - Hide
Hides the help panel (sends it to back) and sets it to visible = false; - Initialize (Parent As ActivityWrapper, Top As Int, Left As Int, Width As Int, Height As Int, Color As Int, Event As String)
Initializes all variables and creates the view
Parent - The parent activity (pass Activity)
Top - Top of the help panel
Left - Left edge of help panel
Width - Width of help panel
Height - Height of help panel
Color - background color of the title
Event - Event name used for the WebView. These are OverrideURL, PageFinished and UserAndPasswordRequired. They are the same as for a WebView. - LoadPage (FileName As String)
Loads an HTML help file
FileName - The HTML file name to load and display
<code>LoadPage("help.htm")</code>
The help files and all images they may need to display MUST be named in all LOWERCASE and MUST be in your projects files/www directory (you will need to create the www directory) - LoadWebPage (URL As String)
Loads an HTML page from the internet
URL - The web address and page to load :
<code>Dim help As MLHelp
help.Initialize(Activity,0,0,100%x,100%y,Colors.Yellow,"help")
help.LoadWebPage("http://www.mlsoft.org/me.jpg")</code> - Show
Shows the help panel if it has already been initialized - isInitialized As Boolean
Returns true if the help panel is initialized and ready to use. - isShowing As Boolean
Returns true if the help panel is showing - setColor
Sets the help panel background color
- Height As Int
Sets or gets the Height of the help panel - Left As Int
Sets or gets the Left position of the help panel - Title As String
Sets the title of the help panel - TitleColor As Int [write only]
Sets the color of the title - TitleHeight As Int
Sets or gets the current title bar height - TitleSize As Int [write only]
Sets the title font size - TitleTextColor As Int [write only]
Sets the color of the title text - Top As Int
Sets the or gets top position of the help panel - Width As Int
Sets or gets the Width of the help panel
There is a small sample app included in the zip file.
Version 1.00 - Initial release.
Version 1.01 - Fixed the spelling on TitleSize, and added isInitialized and LoadWebPage methods. You can now load remote web pages, but be aware that the same PageFinished event is used for both local and remote pages. Also modified the mlhelptest project slightly.
-
Attachments
Last edited: