- Code: Select all Expand view
Function testHtml_Fivewin(oDbf)
HB_MEMOWRIT( "cust.html", oDbf:FW_DbfToHTML() )
ShellExecute( 0, "Open", "cust.html" )
return nil
but there would be problems you cannot change the colors, the background, the fonts and many other things
and then it may not work because the function written by the fwh team loads a particular css (bootstrap) that loads from a website some variables (css) and in case of no connection the html file is not visible in its entirety
The Xbrowse class has its own method (to html) but it works with the presence of a spreadsheet type software installed on the computer, so it uses all the potential of Excel to convert it into html
I have tried to make a small function to create an Html page directly from the xBrowse
in my function that uses a dialog or a simple Ini file, it is possible to select the colors of the background of the text and of the border of both the header and the cells, you can select the colors of the over (tr: nth-child)
But as you can see there is no possibility to print superheaders (i.e. double headers) and I didn't understand how I could do it also because in the application I'm creating I often use superheaders
any advice on how to print superheaders?
doing a little manual test I inserted an extra row before the table and this is the result
but honestly I don't know how to do it automatically