Page 1 of 1

Harbour Writer

PostPosted: Tue Sep 06, 2022 10:47 am
by Otto
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

Re: Harbour Writer

PostPosted: Tue Sep 06, 2022 1:11 pm
by karinha
No comprendo.
I don't understand.

Regards, saludos.

Re: Harbour Writer

PostPosted: Tue Sep 06, 2022 4:15 pm
by Otto
Please see this one:

Image

Re: Harbour Writer

PostPosted: Wed Sep 07, 2022 10:26 am
by Otto
mdo harbour program template

Image

Re: Harbour Writer

PostPosted: Wed Sep 07, 2022 6:26 pm
by Otto
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

Re: Harbour Writer

PostPosted: Thu Sep 08, 2022 2:21 pm
by Otto
Inserting <head></head>



Image

Image

Image

Re: Harbour Writer

PostPosted: Thu Sep 08, 2022 11:54 pm
by Otto
Create a complete program using HarbourWriter

https://mybergland.com/harbourwriter.mp4

Re: Harbour Writer

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

Image

Re: Harbour Writer

PostPosted: Sat Sep 10, 2022 10:40 pm
by Otto
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

Re: Harbour Writer

PostPosted: Mon Sep 12, 2022 6:51 am
by Otto
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

Re: Harbour Writer

PostPosted: Mon Sep 12, 2022 3:16 pm
by Otto
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

Re: Harbour Writer

PostPosted: Thu Sep 15, 2022 9:10 am
by Otto
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

Re: Harbour Writer

PostPosted: Thu Sep 15, 2022 9:24 am
by Otto
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

Re: Harbour Writer

PostPosted: Sat Oct 01, 2022 1:11 pm
by Otto
New interface:

Image

Re: Harbour Writer

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

Image

Image