![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello dzt,
do you have an explanation for the following HTML appereance in dzHTMLViewLib: I generate a HTML File with SQL-Datas, save it and navigate to it with the hc-object : Sub DoHtmlForm hc.EnableContextMenu = false hc.Clear HtStr = "<!DOCTYPE html PUBLIC " & Chr(34) & "-//W3C//DTD HTML 4.01 Transitional//EN" & Chr(34) & ">" & crlf & crlf & "<html>" & crlf & "<head>" & crlf & "<title>" & AktTab & "</title>" & crlf & "<meta content=" & Chr(34) & "Evrsoft First Page" & Chr(34) & " name=" & Chr(34) & "GENERATOR" & Chr(34) & ">" & crlf & "</head>" & crlf & crlf & "<body>" & crlf HtmStr = HtStr For i = 0 To FGrid.ColCount-1 HtStr = "<font size=" & Chr(34) & "2" & Chr(34) & ">" & FGrid.ColName(i) & " | " & FGrid.Cell(FGrid.ColName(i),0) & "</font>" & "<br>" HtmStr = HtmStr & crlf & HtStr Next HtStr = "</body>" & crlf & "</html>" HtmStr = HtmStr & crlf & HtStr If FileExist ("TempHtm.htm") = True Then FileOpen(c1, "TempHtm.htm", cWrite, ,) FileWrite(c1, HtmStr) FileClose(c1) End If hc.Navigate("file://" & AppPath & "\" & "TempHtm.htm") End Sub The result is shown in the "View_SQL_Application.jpg". If I load the same file with the Browser the result is shown in the "View_IExplorer.jpg" I use a Mobile 5 Device with VGA capability. Should it be, that VGA is the reason for ignoring the <font Size> Tag? Or is there another reason? Best regards berndgoedecke |
|
|||
|
Hello dzt,
I've tested the test4 with a 640*400 pixel Form on the device. I take a small change in the code: hc.New1("Form1", 0, 0, Form1.Width, Form1.Height-20) The Letters are much larger in the Device IDE, because the FormSize is reduced by the IDE like in QVGA. In the compiled Version it is ok. You'll find the screen shots attached, but I think it's better to ask Erel for a VGA compatible Device IDE. Best regards berndgoedecke |
|
|||
|
Hello, dear dzt! Excuse for my bad English. Recpect to you for libraries, they are beautiful.but I have a question concerning htmlveiwer.How in it programming to cause object (the button, the reference)? Really it is impossible? I thank in advance for the answer!
|
|
|||
|
Hi dzt,
Thanks for your hard work on this LIbrary. I found it on Thursday and have added it to my app. ![]() One question is there a way to have the focus assigned to the htmlviewer in the app. This way the scroll wheel etc built into peoples hardware would allow them to scroll without have to click in the window? Thanks in Advance |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PhoneticAlgorithms Library (ex-StringComparison Library) | moster67 | Additional Libraries | 10 | 11-11-2008 08:46 PM |
| Door library (Beta) - Special library | Erel | Official Updates | 48 | 07-18-2008 03:33 PM |
| Merging Outlook library and Phone library | Erel | Official Updates | 2 | 07-14-2008 04:38 PM |