Benoit,

This mod needs confirmation as I am unsure as to why the original line was
commented out.

It just doesn't update hWebView.Url if the calculated target Url is the same
as what's already being displayed.
I have had it running here for ~10 days or so and have not seen any side
effect.

regards
Bruce


Index: MHelp.module
===================================================================
--- MHelp.module    (revision 4126)
+++ MHelp.module    (working copy)
@@ -415,10 +415,13 @@

     If sMore Then sUrl &= "&" & sMore
     sMore &= "&" & GetLanguage() ' ??
-    'If hWebView.Url = sUrl Then Return
-
-    hWebView.Url = sUrl

+    ' bb: tries to avoid reloading the same page by
+    ' not inciting the hWebView_Load(?) event
+    If hWebView.Url <> sUrl Then
+      hWebView.Url = sUrl
+    Endif
+
   Else
     hWebView.HTML = "<html><body><h2>" & ("No help found.") &
"</h2></body></html>"
   Endif
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to