we are moving forward on our target to integrate automatic HTML generation into FWH.
Here we are sharing some simple examples with you, in case you want to test them and provide us feedback. Your feedback is very important for us.
I need you to push me, providing your ideas, requirements and suggestions
FWH samples folder already provides a webapp.prg first example. Here I provide you with webapp2, webapp3 and webapp4 PRG examples:
webapp2.prg
- Code: Select all Expand view
- #include "FiveWin.ch"
function Main()
SetWebApp()
USE Customer
Browse() // at this point, please go to "localhost" from your web browser
return nil
webapp3.prg
- Code: Select all Expand view
- #include "FiveWin.ch"
function Main()
local oDlg
SetWebApp()
DEFINE DIALOG oDlg
@ 2, 2 SAY "Hello world"
ACTIVATE DIALOG oDlg CENTERED
return nil
webapp4.prg
- Code: Select all Expand view
- #include "FiveWin.ch"
function Main()
local oWnd
SetWebApp()
DEFINE WINDOW oWnd
@ 2, 2 SAY "Hello world"
@ 4, 5 BUTTON "dialog" SIZE 80, 20
ACTIVATE WINDOW oWnd
return nil
Important: These examples have to be built using the new buildhmt.bat available in the samples folder. They only work with Harbour. They don't work with xHarbour.
In order to build and test them you need FWH 22.06. If you already own FWH 22.06 and these examples don't work for you, please send me an email and I will provide you the latest FWH libs.
Please think about basic examples to test and propose them. We need to set the right path for this FWH to HTML automatic generation, a path that is right for all of us.
thank you so much for your time and support