Page 4 of 5

Re: HB_WebView (a cross-platform Webview library)

Posted: Tue Mar 25, 2025 4:08 pm
by srvet_claudio
Hi Serge,
Yes please send me.

Re: HB_WebView (a cross-platform Webview library)

Posted: Tue Mar 25, 2025 4:39 pm
by serge_girard
Send!

Re: HB_WebView (a cross-platform Webview library)

Posted: Sat Mar 29, 2025 5:47 pm
by srvet_claudio
Hi all,
I've added a new demo.
demo6.prg: You can navigate the directory tree and open files that are in the list of allowed extensions (new instances of HB_WebView are created entirely from Javascript code).

Download code from: https://www.hmgforum.com/viewtopic.php?p=71617#p71617

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 7:53 am
by serge_girard
thanks !

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 8:01 am
by serge_girard
HB_WebView.docx is causing a problem!

Serge

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 2:46 pm
by srvet_claudio
serge_girard wrote: Sun Mar 30, 2025 8:01 am HB_WebView.docx is causing a problem!

Serge
Thanks for report Serge,
the .docx does not open or crash ?
Perhaps it's because it was written in LibreOffice, not Word.
It has the same content as the HB_WebView.pdf

Best regards,
Claudio

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 4:08 pm
by serge_girard
ok, it opens well in LibreOffice but not in Word... I use both!
Serge

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 4:17 pm
by srvet_claudio
serge_girard wrote: Sun Mar 30, 2025 4:08 pm ok, it opens well in LibreOffice but not in Word... I use both!
Serge
Thanks Serge

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 4:31 pm
by serge_girard
Claudio,

Demo6 - function sortTable( cID, n )

There is some strange sorting going on when sorting on NAME.
DATE is perfect.

Serge

Re: HB_WebView (a cross-platform Webview library)

Posted: Sun Mar 30, 2025 6:26 pm
by srvet_claudio
serge_girard wrote: Sun Mar 30, 2025 4:31 pm Claudio,

Demo6 - function sortTable( cID, n )

There is some strange sorting going on when sorting on NAME.
DATE is perfect.

Serge
Hi Serge,
It must be because when sorting by name it is actually sorted by (attribute + name), it must be some attribute not considered.
Please run the following function with the problematic path and email me the resulting file: file_list.txt
Tell me the name of the problematic file.

e.g.
saveDir( "C:\hmg.3.6" )

Code: Select all

FUNCTION saveDir( path )
LOCAL aFiles := directory ( path + "\*.*", "D" )
   t = hb_jsonEncode( aFiles, .T. )
   hb_memowrit("file_list.txt", t )
   Msgdebug( t )
RETURN t