FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour Writer
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Harbour Writer

Posted: 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

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM

Re: Harbour Writer

Posted: Tue Sep 06, 2022 01:11 PM

No comprendo.
I don't understand.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Tue Sep 06, 2022 04:15 PM
Please see this one:

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Wed Sep 07, 2022 10:26 AM
mdo harbour program template

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Wed Sep 07, 2022 06: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.










Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Thu Sep 08, 2022 02:21 PM
Inserting <head></head>







Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Thu Sep 08, 2022 11:54 PM
Create a complete program using HarbourWriter

https://mybergland.com/harbourwriter.mp4
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Fri Sep 09, 2022 09:33 AM
HarbourWriter is supposed to be the successor of my Fivewin program with which I manage notes and source code examples.

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: 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



Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Mon Sep 12, 2022 06: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

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Mon Sep 12, 2022 03: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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Thu Sep 15, 2022 09: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.




Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Thu Sep 15, 2022 09: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.






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


Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Sat Oct 01, 2022 01:11 PM
New interface:

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Harbour Writer

Posted: Wed Oct 19, 2022 06:27 AM
Hello friends,
We have improved the comfort of HW.
You can now create new entries directly from HW.
Best regards,
Otto



Continue the discussion