A good notice for harbour / minigui world

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: A good notice for harbour / minigui world

Post by Rathinagiri »

I'm interested in the user interaction with the program...

also programs written in HMG3... can anybody share some screenshots ?
In HMG 3, I have created many DBF and business applications. I am glad to share some shots for you. :)
Attachments
ware1.jpg
ware1.jpg (164.43 KiB) Viewed 5557 times
gsm1.jpg
gsm1.jpg (169.82 KiB) Viewed 5557 times
pyro3.jpg
pyro3.jpg (148.57 KiB) Viewed 5557 times
pyro2.jpg
pyro2.jpg (159.81 KiB) Viewed 5557 times
pyro1.jpg
pyro1.jpg (162.97 KiB) Viewed 5557 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: A good notice for harbour / minigui world

Post by mrduck »

Hi Roberto,
probably I was not clear in my message. I try to explain better and more openly.

I know there are several different GUI libraries available for harbour.

I have in mind my software that now runs in text-mode. I try to think a possible conversion of it into the GUI world.... thinking about the user experience....

I may choose a way from porting the forms 1:1 to completely rewriting the interface...

I'm thinking about a user that has been worked with this software since 1987 and knows every shortcut, about the use of different widgets, about the use of monospaced vs proportional fonts, etc

So, I'd like to see/know how other programmers ported their programs from text-mode to GUI, which decisions they took and, possibly, why they did that way....


Just to be more clear, 3 samples:
a) in one part of the program I implemented a little parser to parse commands typed by the users and build a sum, something like the commands travel agents type in the reservation systems. If I had to port to GUI, I can keep the same @ GET but I may also create a tree and allow drag/drop support... if I move to GUI I should move to GUI...
b) my wife is a teacher. she asked me a little software to use everyday in the class and store some infos on the lessons/students. My first try was text-mode and the data was difficult to add since in text-mode I was not able to do a clever thing. Then I moved to hbqt/hmg and radically changed the interface: now you have a "timetable" with days as columns and students as rows and a double click in the cell or a key pressed when the cell is active changes its content. In a different pane there is the real-time calculated situation
c) in a report you had to specify the month of the report. It calculated sums from start of year, start of month doing comparisons with previous years... I ported to hbQt and calculate all the months at once, putting each month in a TAB, and adding a new tab with a graph...

3 samples where moving from text-mode to GUI was done with a definitive change in how user interacts... (sample a is not done, it's just an idea).


So I'm asking other programmers: how have you done the portings ?
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: A good notice for harbour / minigui world

Post by mrduck »

rathinagiri wrote:
I'm interested in the user interaction with the program...

also programs written in HMG3... can anybody share some screenshots ?
In HMG 3, I have created many DBF and business applications. I am glad to share some shots for you. :)
Thank you rathinagiri, nice forms.

I understand you use standard windows menu (no toolbars), MODAL windows (one thing a time), I may imagine how the "invoice entry" form works...
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: A good notice for harbour / minigui world

Post by Rathinagiri »

As you guessed, yes, I used standard window w.o. toolbar and modal windows.

I make it simple and I fill the main window with colorful buttons highly prominent and modal window was required by the user.

Ware-soft is inventory maintenance software created for a client and given as open source.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: A good notice for harbour / minigui world

Post by Roberto Lopez »

mrduck wrote:Hi Roberto,
probably I was not clear in my message. I try to explain better and more openly.
<...>
Ok.

If you are porting, you should use modal windows only.

You simply has to replace your CLS...@...GET...READ blocks with DEFINE WINDOW... @...TEXTBOX...END WINDOW...ACTIVATE WINDOW blocks instead and you'll have a similar experience.

You should take a look at minigui extended, since it has an alternative to TEXTBOX called GETBOX. AFAIK, this control, supports @...GET PICTURE clause, that in the case of intensive porting could make the things faster.

Despite porting, my experience tells that many users confuses with multiple non modal windows opened at the same time.

As rathi, I always use only one active window (a modal one) in my applications. It give me great results.

Another thing (for medium to large sized projects) is to not use data bound controls.

I simply open tables, make the queries and load data in arrays and close tables. Using grids to edit and display only.

This model makes easy to change backends, in the case you need to connect (ie) to some flavor of SQL.

You should think that sooner or later, some of your apps, will need to have its data in a MySql server on the web, allowing queries from any place and any device.

I'm finding more and more people with iPhones and iPads that want access their data from such devices too (at least for query).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: A good notice for harbour / minigui world

Post by mol »

hi mrduck!

I'm working now on my billing system.
You can easily download it frow http://www.molsystemy.pl/faktury/f4setup.exe
It in polish language, but, I think, you can easy install it and watch effects of my work.
I can share sources on pv

PS. I'm using now modal windows, I've tried few possibbilities with childwindow in the pass, but with some problems...
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: A good notice for harbour / minigui world

Post by danielmaximiliano »

mrduck wrote:
So I'm asking other programmers: how have you done the portings ?
Hola Mrduck:
comenze portando la aplicacion de consola (D.O.S) que tenia 12 años de uso.
primero con la parte de indices, de DBF/NTX pase a DBF/CDX.
despues las consultas que son mas faciles de manejar ya que un error no afecta al sistema en si.
estas consultas de pasaron de consola 25,80 a graficas con un buen tamaño de ventana conteniendo mas datos para visualizar.
se agrego un Toolbar para opciones mas comunes que el usuario utiliza.- prontamente voy a ver como implementar un Toolbar inteligente que agregue botones para las opciones del Main Menu mas usados por el usuario. (en VFP tengo hecho uno)

las consultas ahora se cambiaron a un control Tree porque me permite multiples consultas por NIP sin necesidad de Multiples Window Child
Attachments
Console Query extended.jpg
Console Query extended.jpg (92.04 KiB) Viewed 5524 times
Gui Query NIP.jpg
Gui Query NIP.jpg (62.23 KiB) Viewed 5524 times
Gui QueryTree.jpg
Gui QueryTree.jpg (129.33 KiB) Viewed 5524 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: A good notice for harbour / minigui world

Post by danielmaximiliano »

danielmaximiliano wrote:
mrduck wrote:
So I'm asking other programmers: how have you done the portings ?
Hola Mrduck:
comenze portando la aplicacion de consola (D.O.S) que tenia 12 años de uso.
excuse the translation, my English is bad
Attachments
Console Query main.jpg
Console Query main.jpg (107.15 KiB) Viewed 5524 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: A good notice for harbour / minigui world

Post by Rathinagiri »

Nice work Daniel.

Mol, I have installed your software and it is so great and elaborative and extensive use of HMG. Thanks for sharing man.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: A good notice for harbour / minigui world

Post by mrduck »

Thanks for your answers.
Post Reply