GTWvg GUI Sample

Moderator: Rathinagiri

Post Reply
User avatar
mustafa
Posts: 704
Joined: Fri Mar 20, 2009 11:38 am
Location: Alicante - Spain
Been thanked: 80 times

GTWvg GUI Sample

Post by mustafa » Wed Apr 11, 2018 12:07 pm

Hello friends:
Experimenting with Hmg by chance I went in to see the content
of HARBOR and I found in-> c:\hmg.3.4.4\HARBOUR\contrib\gtwvg\tests\
"demowvg.prg" and "demowvg1.prg"

I have started to dig a little and there is hardly any information about this GUI
Created by Pritpal Bedi.

But "Et Voila" with our HMG build.bat
compiled inside tests-> demowvg.exe and demowvg1.exe

To not tire you I put inside the file "GTWvg_Sample.Zip"
with all the prg's README.DOC where are all the Web addresses,
where I was able to gather a little information about this GUI.

Very grateful to Professor José M.C. Quintas true scholar in this
GUI located at https://pctoledo.websiteseguro.com/forum/

Also Giovanni Di Maria for his GTWvg Tutorial
I was able to create PDF document by putting in the Prg -> "print_pdf.prg"
-> #include "hmg_hpdf.ch" and it is working fine.

To compile the Easy Samples our build.bat

@ECHO OFF
call c:\hmg.3.4.4\build.bat Main.prg %*

Very important in the folder that you do for
Our application must be "hbmk.hbm"

Well here is my humble contribution
Forgive my inexperience in this Gui-GTWvg.

It's been a long time since I left the way to Schedule in Clipper and it costs me a lot
to return to this form.

If someone wants to continue, my admiration !
I stay with HMG, it's much more versatile for me

Regards
Mustafa
Attachments
Imagen00.jpg
Imagen00.jpg (478.08 KiB) Viewed 1779 times
GTWvg_Sample.zip
(1.9 MiB) Downloaded 125 times
Last edited by mustafa on Wed Apr 11, 2018 2:20 pm, edited 1 time in total.

User avatar
bpd2000
Posts: 1027
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 165 times
Been thanked: 72 times

Post by bpd2000 » Wed Apr 11, 2018 12:22 pm

Thank you for info
BPD
Convert Dream into Reality through HMG

ASESORMIX
Posts: 79
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela
Been thanked: 6 times

Post by ASESORMIX » Wed Apr 11, 2018 5:04 pm

+1
Gracias Sr. Mustafa Por esta una valiosa contribución.

User avatar
serge_girard
Posts: 2140
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 449 times
Been thanked: 102 times
Contact:

Post by serge_girard » Wed Apr 11, 2018 7:01 pm

Thanks, Mustafa !

Serge

User avatar
mustafa
Posts: 704
Joined: Fri Mar 20, 2009 11:38 am
Location: Alicante - Spain
Been thanked: 80 times

Post by mustafa » Thu Apr 12, 2018 11:54 am

Hola atodos:
Si algún compañero está experimentado con el "Sample" que incorporé
"GTWvg_Sample.zip" vereis que hay algún error al cerrar alguna
ventana y un problema muy grave que no he podido encontrar solución
es la desmesurado gasto de CPU cuando se habre cualquier ventana Modal <- :?:

Ver -> http://www.pctoledo.com.br/forum/viewto ... 43&t=14790

Saludos
Mustafa
*------------------------------ Google ---------------------------------------*
Hello everyone:
If a partner is experienced with the "Sample" that I incorporated
"GTWvg_Sample.zip" you will see that there is an error in closing some
window and a very serious problem that I could not find solution
is the excessive CPU expense when any Modal window is opened <- :?:

View -> http://www.pctoledo.com.br/forum/viewto ... 43&t=14790

Regards
Mustafa

User avatar
mustafa
Posts: 704
Joined: Fri Mar 20, 2009 11:38 am
Location: Alicante - Spain
Been thanked: 80 times

Post by mustafa » Sun Apr 15, 2018 3:07 pm

Hello friends:
At last I have detected the problem of the high consumption of CPU memory
was caused by the sequence of SHOWTIME (), which I think comes from
of the CA-CLIPPER TOOLS.

I was able to replace this sequence of SHOWTIME () with:

Code: Select all

    DO WHILE .T.
       IF Inkey (0.01) == K_ESC
          QUIT
       ENDIF
     SetColor ("GR + / B")
     @ 23, 69 SAY Time () // <- New Clock   --> Error Memory SHOWTIME (23,69, .F., "GR + / B",. F.,. F.)
    ENDDO
the rest remains the same
I leave the new copy corrected and ready to Compile -> "GTWvg_Sample_New.zip"
 
It has been a new experience within the Clipper-Harbour world
Regards
Mustafa :lol:
Attachments
GTWvg_Sample_New.zip
(1.95 MiB) Downloaded 151 times

User avatar
mol
Posts: 3062
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 176 times
Been thanked: 96 times
Contact:

Post by mol » Mon Apr 16, 2018 3:04 pm

Thank you, Mustafa!

Post Reply