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

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

Postby Otto » Wed May 19, 2021 1:16 pm

Image

A catchy project name and an appealing logo are not pure luxury but a helpful marketing tool.

/ɪːzɪˈpɪːzɪ/
easy-peasy | adjective | British informal

very easy; presenting no difficulty at all

The reports are easy-peasy to make.
You can use any HTML editor or WYSIWYG HTML editor - for example WORD - to create /ɪːzɪˈpɪːzɪ/ reports.

/ɪːzɪˈpɪːzɪ/ report definition files are HTML files.
/ɪːzɪˈpɪːzɪ/ report works with with Fivewin and mod harbour.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Otto » Wed May 19, 2021 3:36 pm

Word for designing

Image

source code

Image

preview

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Otto » Wed May 19, 2021 4:47 pm

table header - table is autosizeing

Image

Here I add some styles
cHtml += memoread(".\tagesGaesteListe\tablestyle.html")


Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Marc Venken » Wed May 19, 2021 10:23 pm

Otto,

Is there a option to show HTML code insite a dialog in Fivewin. I haven't looked yet at the forum posts, but for now I only would like to show
a dialog or frame with the formatted html code (the result, what we see when it comes online)

I generate html code from FW functions (not mod), but I would like to see the result in a frame or dialog
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1435
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Postby Otto » Wed May 19, 2021 10:48 pm

Hello Mark,
Please see this sample from FWH.
C:\FWH\samples\webexp2.prg
Best regards,
Otto

Code: Select all  Expand view  RUN

// Using an ActiveX in a dialog.

#include "FiveWin.ch"

function Main()

   local oDlg, oActiveX

   DEFINE DIALOG oDlg RESOURCE "Test"

   REDEFINE ACTIVEX oActiveX ID 10 OF oDlg PROGID "Shell.Explorer"
   
   oActiveX:nDlgCode = DLGC_WANTALLKEYS
   
   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT oActiveX:Do( "Navigate2", "http://www.google.com" )

return nil

 
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Marc Venken » Thu May 20, 2021 8:47 am

Otto, these show html from internet site and link to it.

(This question is also posted on a new function of Mr Rao from yesterday)

Can we use this maybe for this purpose ?

I want to show the composed html code that sits insite a memo field from a Xbrowse, so when i move in xbrowse , the html should also be repainted. in the dialog on a fixed say control maybe

Mostly I found html vieuw options for websites ...

screen = xbrowse and a say control.

Het html will be mostly small table data that shows some product options.


<table class="styled-table"><br><thead><br><tr><br><th>Catalogus</th><br><th>Omschrijving</th><br><th></th><br></tr><br></thead><br><tbody><br><td>De &#39;European Textile Catalogus&#39; Topcatalogus voor promotionele kleding</td><br><td></td><br></tr><br><tr><br><td>De &#39;Textile Europe&#39; top catalogus voor promotionele kleding<br /><br>&nbsp;</td><br><td></td><br></tr><br><tr class="active-row"><br><td>De &#39;Printwear&#39; catalogus.&nbsp; De referentie voor promotionele textiel</td><br><td></td><br></tr><br></tbody><br></table>
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1435
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Postby Otto » Thu May 20, 2021 11:01 am

Hello Mark,
I am sure you can do this.
But I think you should program it as a mod harbour application that you run in localhost.

The / i zi pi zi / report definitely understands your file.

I think the <br> you are using will all be pulled together and executed at the top 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


Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby elvira » Thu May 20, 2021 5:37 pm

Very nice!!!

Will you share source code or you want money?
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

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

Postby Otto » Thu May 20, 2021 7:58 pm

Hello elvira,

Thanks for your kind words.
Sure, I'll share my code for free.
But give me a few more days.

At the moment there is no interest besides you and Cristobal.
If it stays that way, I'll give you a private download link.

Do you already have experience with HTML and CSS.
It is unlikely how easy it is to use / i zi pi zi / to create truly professional reports.

Best regards,
Otto
Last edited by Otto on Thu May 20, 2021 8:10 pm, edited 1 time in total.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Otto » Thu May 20, 2021 8:10 pm

before - afterwards ( EasyReport - / i zi pi zi / Report)

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby TimStone » Thu May 20, 2021 10:49 pm

Otto,

I'm following this, but so far I don't see enough to know if I can use it. I see the result, but not the tool.

Interested ? Perhaps, but I need to know more.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

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

Postby Otto » Fri May 21, 2021 6:07 am

Hello Tim,
Thank you. How do you mean tool?

Can you maybe post one of your reports?
Then I could try to recreate this with / i zi pi zi /.
Tool
It depends on what you want to do.
You can use Word or any other HTML editor, or just HTML code.
Here I tested to replace an oReport.

See report.prg in the Fivewin samples and compare this new code and the result.

Image

Image


This is the sample I started.

Image


Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Otto » Fri May 21, 2021 6:22 am

Tim,
Look how easy-peasy you can achieve great effects. The source code is also easy to understand. For example,
I mark all names that begin with "L".
Best regards,
Otto


Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Marc Venken » Fri May 21, 2021 9:59 am

Now i see the potential of it ! Since the html laytout's can be anything from html code you can make stunning reports.

We could even make a xbrowse with the data (dbf-fields) and the html tag's, so that the prg code will be less in writing...

Was there anything needed for setup to jump into this project ? In FWH, NOT MOD
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1435
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Postby Otto » Fri May 21, 2021 10:54 am

Mark, No nothing. We just didn't see the potential.

The big advantage is that we can use the reports both in Fivewin and with mod Harbor.

Please see the attached screen. Here the same report is opened via the web browser.

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests