Harbour Writer

Harbour Writer

Postby Otto » Tue Sep 06, 2022 10:47 am

Hello friends,

I have syntax support in the editor I use for mod harbour programming (VS Code).
But I have found that it is easier to build a wizard for the few commands that are often needed.
Harbour Writer
It is also a good "finger exercise.

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: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Re: Harbour Writer

Postby karinha » Tue Sep 06, 2022 1:11 pm

No comprendo.
I don't understand.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Harbour Writer

Postby Otto » Tue Sep 06, 2022 4:15 pm

Please see this one:

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

Re: Harbour Writer

Postby Otto » Wed Sep 07, 2022 10:26 am

mdo harbour program template

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

Re: Harbour Writer

Postby Otto » Wed Sep 07, 2022 6:26 pm

HARBOUR WRITER

I use a GRID to fill in the values and to select the elements.
When loading the web page we set the elements to .style.display = "none";
Depending on which function or element is selected from the optionlist the elements are shown and labeled again.
.style.display = "block";
document.getElementById("col2").innerText = 'row 1';

The Copy button calls a function and depending on the selected option the source code is displayed and copied to the clipboard.


Image

Image

Image

Image

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

Re: Harbour Writer

Postby Otto » Thu Sep 08, 2022 2:21 pm

Inserting <head></head>



Image

Image

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

Re: Harbour Writer

Postby Otto » Thu Sep 08, 2022 11:54 pm

Create a complete program using HarbourWriter

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

Re: Harbour Writer

Postby Otto » Fri Sep 09, 2022 9:33 am

HarbourWriter is supposed to be the successor of my Fivewin program with which I manage notes and source code examples.

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

Re: Harbour Writer

Postby Otto » Sat Sep 10, 2022 10:40 pm

Hello,
I have now connected HarbourWriter to a DBF.
I can now manage the source code and the notes in the memo fields of the DBF.
Best regards,
Otto

Image

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

Re: Harbour Writer

Postby Otto » Mon Sep 12, 2022 6:51 am

Hello,
now I extended the DBF file and have an extra field for images.
This way I can attach a screenshot to see immediately what the source code will do.
If someone is interested in helping to develop this tool, please write me.

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: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Re: Harbour Writer

Postby Otto » Mon Sep 12, 2022 3:16 pm

Hello,
In this video we show how we add another block to the source code DBF.

We add the bootstrap navbar and then
create a programme with a navigation bar and an address form with the help of harbourWriter.


1. insert mod harbour program template

2. add js - lib like jquery and bootstrap

3. iInsert navigation block from harbourWriter

4. insert form block from harbourWriter

start and test the program

5. change navigation to dark mode

The source code DBF can be extended and edited as you like.
You can add notes and tips to the code blocks.
The links where you found the templets and more.
You can also share the blocks with other developers.
It is a useful toolbox

harbourWriter is your handy notebook and grows with you over time.

Best regards,
Otto


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

Re: Harbour Writer

Postby Otto » Thu Sep 15, 2022 9:10 am

Now we have added a table to navigate the stored source code blocks.
You can "search" and also sort by title, category or language.
If you click on a line in the table, a preview image, the description of the block and the source code are displayed.
This is managed quite simply in a DBF table.


Image

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

Re: Harbour Writer

Postby Otto » Thu Sep 15, 2022 9:24 am

Now we have added a table to navigate the stored source code blocks.
You can "search" and also sort by title, category or language.
If you click on a line in the table, a preview image, the description of the block and the source code are displayed.
This is managed quite simply in a DBF table.


Image

Image

This is the file which is called from AJAX and response with the data of the DBF file.


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

Re: Harbour Writer

Postby Otto » Sat Oct 01, 2022 1:11 pm

New interface:

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

Re: Harbour Writer

Postby Otto » Wed Oct 19, 2022 6:27 am

Hello friends,
We have improved the comfort of HW.
You can now create new entries directly from HW.
Best regards,
Otto

Image

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 55 guests