Search found 44 matches: chtml

Return to advanced search

Re: WebView2 Essentials: Guides, Tips & Resources

... view instance. It takes debug settings and a parent window handle as arguments. Navigate(cURL): Navigates the web view to a specified URL. SetHtml(cHtml): Sets the HTML content of the web view. Run(): Runs the web view. Destroy(): Destroys the web view and cleans up resources. Eval(cScript): Evaluates ...
by Otto
Wed Jan 10, 2024 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 Essentials: Guides, Tips & Resources
Replies: 2
Views: 480

accordion and webview2

... Fivewin into HTML? Calling the html works. oWebView:Navigate( "C:\fwh2023\samples\Untitled-1.html" ) Also if I insert an URI encoded cHTML source. oWebView:Navigate( Html() ) I need the FIVEWIN function to encodeURI. Also, the line: oWebView:SetSize( 1960, 800 ) is not respected. ...
by Otto
Mon Jan 08, 2024 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: accordion and webview2
Replies: 2
Views: 432

Re: xHarbour.org updated!

... SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL ACTIVATE DIALOG oDlg CENTERED Return nil FUNCTION WebPageSource(cUrl) local oIE,cTXT,cHTML,cMemo:="" local cString LOCAL cString1,cString2 LOCAL oUrl, oCli,lOk DEFAULT cUrl := "https://www.bcv.org.ve" BEGIN SEQUENCE ...
by wartiaga
Mon Sep 18, 2023 7:22 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 37448

Re: TWebView y Javascript

... oWebView:Destroy() return nil //----------------------------------------------------------------------------// function Html() local cHtml TEXT INTO cHtml data:text/html, <head><body> <button id='btn-test' >Click Me</button> <script> function test(evt) ...
by EASYSOFT
Sun Jul 16, 2023 8:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebView y Javascript
Replies: 6
Views: 433

Webview question

... = { | cJson, nCalls | MsgInfo( cJson, nCalls ) } oWebView:Bind( "SendToFWH" ) RETURN oWebView FUNCTION ValidWebView(oWebview) LOCAL cHtml cHtml := oWebView:Eval( "SendToFWH( document.body.innerHTML )") Msginfo( cHtml, "cHtml") // cHtml is empty RETURN .T. What ...
by Randal
Thu Jun 29, 2023 1:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webview question
Replies: 36
Views: 2930

Shell.Explorer.2 problem

... to get around this issue? Here is my code. FUNCTION HPCall( cTransactionSetupID, oDlg ) local oWndHP, oActiveX local cEvents := "" LOCAL cHtml := "" LOCAL oIcon DEFINE ICON oIcon RESOURCE "MYICON" DEFINE WINDOW oWndHP ; FROM 1, 5 TO 40, 75 ; TITLE "Hosted Payments" ...
by Randal
Mon Jun 26, 2023 10:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Shell.Explorer.2 problem
Replies: 12
Views: 716

Re: Questions about WebView

... lines of code > 2. Why the method is needed :setHtml if you can't write a JS script in it ? Of course that you can use JS script in the cHtml that you provide to Method SetHtml(). I am going to provide you an example
by Antonio Linares
Thu Nov 24, 2022 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions about WebView
Replies: 26
Views: 1609

Re: IE

... "test", Test(), hWebView ) WebView_Run( hWebView ) WebView_Destroy( hWebView ) FreeLibrary( hDLL ) return nil function Html() local cHtml TEXT INTO cHtml data:text/html, <html> <head> </head> <body style="background-color:cyan"> <h2>Using WebView ...
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1678

Re: New Fivewin with new PDF

... ) Local oError := nil Local nI := 0 Local oEmailCfg := nil Local oEmailMsg := nil Local cHtml := '<!DOCTYPE HTML PUBLIC "-/' + '/W3C/' + '/DTD HTML 4.0 Transitional/' + '/EN">' cHtml += '<HTML><HEAD>' cHtml += ...
by byron.hopp
Tue Apr 05, 2022 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 936

Re: ¿Cómo puedo marcar varios puntos con Google Maps?

... 2 URL'], ['Location 3 Name', 'Vinarós, Comunidad Valenciana, España', 'Location 3 URL'] ]; resto del HTML Lo que haces es construir una cadena: cHTML = cComienzoDelHtml + Localizaciones() + cFinalDelHtml y luego haces memoWrit( cHTML, "test.html" ) y ya has generado el HTML con los ...
by Antonio Linares
Wed Feb 16, 2022 3:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo puedo marcar varios puntos con Google Maps?
Replies: 10
Views: 1972

Re: Automated Outlook e-mail and sending plain text

Dear Rick,

oMailItem:HtmlBody = cHTML

Use "<br>" instead of Chr( 10 )

and remember to use the typical HTML structure:

<html>
<head>
</head>
<body>
Your text goes here
</body>
</html>

You can use tables, colors, etc.
by Antonio Linares
Tue Oct 19, 2021 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Automated Outlook e-mail and sending plain text
Replies: 3
Views: 377

Re: HTML report sample

... from HTML https://mybergland.com/fwforum/izipizi/htmleditor_clip3.jpg and replace the placeholder <hr> FOR I: = 1 to len (aText) cHtml: = STRTRAN (cHtml, aText [I, 1], aText [I, 2]) next <hr> aText [I, 2] is your data https://mybergland.com/fwforum/invoicedata.jpg ...
by Otto
Mon Jul 26, 2021 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HTML report sample
Replies: 12
Views: 1544

Re: HTML report sample

... I also have a function that removes the unnecessary OpenOffice tags. function cleansouce( cHtml) for example: cHtml := STRTRAN( cHtml, 'LANG="en-GB', ''") return () But again. At the moment, there is no report system available to ...
by Otto
Mon Jul 26, 2021 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HTML report sample
Replies: 12
Views: 1544

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

... interesting :shock: table header - table is autosizeing https://mybergland.com/fwforum/izipizi/tableheader.jpg Here I add some styles cHtml += memoread(".\tagesGaesteListe\tablestyle.html") https://mybergland.com/fwforum/izipizi/tablestyleshield.jpg
by AIDA
Thu May 20, 2021 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour
Replies: 13
Views: 1506

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

... of the table. The table is held together and not interrupted by <br>. Here you see how / i zi pi zi / links in your table into the report. cHtml += memoread(".\tagesGaesteListe\markhtm.html") Best regards, Otto https://mybergland.com/fwforum/izipizi/markreport.jpg
by Otto
Thu May 20, 2021 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour
Replies: 31
Views: 3267
Next

Return to advanced search

cron