Easier WebView use

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42256
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Easier WebView use

Post by Antonio Linares »

We are working to simplify the WebView use, so it can be used the FWH way :-)

Code: Select all | Expand

#include "FiveWin.ch"

function Main()

   local oWnd, oWebView, oContent, oLink1, oLink2

   DEFINE WINDOW oWnd SIZE 2000, 1200

   @ 0, 0 WEBVIEW oWebView OF oWnd HTML "file://" + hb_DirBase() + "index.html" SIZE 2000, 1200

   REDEFINE ITEM oContent ID "content" OF oWebView 

   REDEFINE ITEM oLink1 ID "GiftCode" OF oWebView ;
      ON CLICK oContent:SetHTML( "GiftCode" )

   REDEFINE ITEM oLink2 ID "TopReview" OF oWebView ;
      ON CLICK oContent:SetHTML( "TopReview" )

   ACTIVATE WINDOW oWnd CENTERED ;
      VALID ( oWebView:End(), .T. )

return nil
https://github.com/FiveTechSoft/screens ... f?raw=true
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
sygecom
Posts: 55
Joined: Tue Mar 11, 2008 3:18 am
Location: Brasil

Re: Easier WebView use

Post by sygecom »

Very good, congratulations on the progress.
User avatar
vilian
Posts: 984
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Easier WebView use

Post by vilian »

I hope webview can be improved quickly... it's looking very promissue ;)
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Enrrique Vertiz
Posts: 549
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru
Contact:

Re: Easier WebView use

Post by Enrrique Vertiz »

Muy interesante, estamos atentos ...
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 24.09, BCC74, MySQL 8.0.X, SQLLIB 1.9m
Post Reply