HB_WebView (a cross-platform Webview library)

User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by srvet_claudio »

Hi Serge,
Yes please send me.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by serge_girard »

Send!
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post 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
Attachments
demo6.png
demo6.png (93.07 KiB) Viewed 3015 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by serge_girard »

thanks !
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by serge_girard »

HB_WebView.docx is causing a problem!

Serge
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by serge_girard »

ok, it opens well in LibreOffice but not in Word... I use both!
Serge
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by serge_girard »

Claudio,

Demo6 - function sortTable( cID, n )

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

Serge
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply