Page 1 of 1

any Express++ User who use harbour ?

Posted: Fri Aug 30, 2019 6:17 pm
by Auge_Ohr
hi,

i test-drive harbour HMG and like Express++ it use #Command Syntax

so i got a Idea : Express++ use Xbp-Control as Superclass ... :idea:

what if i replace Xbp with Wvg

Code: Select all

   #xtranslate XbpDialog                       =>  WvgDialog
   #xtranslate XbpStatusBar                    =>  WvgStatusBar
   #xtranslate XbpStatic                       =>  WvgStatic
   #xtranslate XbpActiveXControl               =>  WvgActiveXControl
   #xtranslate XbpPushButton                   =>  WvgPushButton
   #xtranslate XbpComboBox                     =>  WvgComboBox
   #xtranslate XbpTreeView                     =>  WvgTreeView
   #xtranslate XbpMenu                         =>  WvgMenu
   #xtranslate XbpToolBar                      =>  WvgToolBar
   #xtranslate XbpMenuBar                      =>  WvgMenuBar
   #xtranslate XbpListbox                      =>  WvgListbox
   #xtranslate XbpSLE                          =>  WvgSLE
   #xtranslate XbpMLE                          =>  WvgMLE
   #xtranslate XbpProgressBar                  =>  WvtProgressBar
and other Controls have same Syntax and iVAR like Xbp and react the same Way ?
GTWVG LIB exist ... but i'm not a Express++ User to test Code this Way.

i knew there is much more than GUI Controls
but i think it is a Way to test-drive Express++ under harbour using GTWVG LIB from Pritpal Bedi

Re: any Express++ User who use harbour ?

Posted: Sun Dec 20, 2020 10:45 am
by slobodan1949
Hello,
i am interested in testing this in my sXpress ++ applications.
Give me precise instructions.

Re: any Express++ User who use harbour ?

Posted: Sun Dec 20, 2020 4:33 pm
by Auge_Ohr
hi,

GTWVG from Pritpal Bedi was his 1st try when change from Xbase++ to harbour.
GTWVG is based on GTWVT which is the Terminal / Console Version using native Windows Control.

Problem : Event are handle in Function Code and limited

hbQT / hbXbp is based on QT LIB from Nokia.
QT LIB does not "paint" Control, it does "render" Control like a Browser ( Xbase++ now have Htmllayout to render )
if you want to look at Syntax here http://www.elektrosoft.it/tutorials/hbqt/hbqt.asp

as you can see OOP Syntax is like Xbase++ ( or Xbase++ is like QT while QT was before Xbase++ )
hbXbp use QT as "Wrapper" for Xbase++ Syntax and you can get hole "C" Source.
Pritpal Bedi still use it in QtContribs https://sourceforge.net/projects/qtcontribs/files/

benefit of QT LIB : it is NOT fixed to Windows OS only. you can get LIB for Linux / Android ( no iOS )

---

as i can say it is not so easy to change from Xbase++ to harbour.
Xbase++ "hide" Windows API from User but that is what all Windows Apps based on.
so you have to learn Windows API when you want to use harbour.

Xbase++ is very comfortable while it does a lot in Background like CG to clean up.
under "C" you have to take care yourself and clean up

---

you can get into harbour on different Level
1.) HMG MiniGUI
you can get hole Packet ( IDE, Compiler MinGW, MinGW LIB and more than 480 working Sample) here
https://github.com/HMG-Official/HMG

like Express++ Syntax it is using #xtranslate

Code: Select all

@ X,Y BUTTON Button_1 CAPTION 'Check Spelling' WIDTH 130 HEIGHT 20 ACTION oSpellChecker:checkSpelling()
HMG MiniGUI Control "just" have Method / Property for "normal" User

2.) MiniGUI Extendet Version
it is based on HMG but Controls have own CALLBACK and can use Ownerdraw etc.

3.) QT LIB
this is "Next" Level while it is not "fixed" on Windows OS
this is the next Level i want to reach

Re: any Express++ User who use harbour ?

Posted: Mon Dec 21, 2020 12:25 pm
by slobodan1949
Jimmy,
Thank you very much for the precise instructions.
I start by studying the problem.
Can I call for help sometime if I need it?

Slobodan Stanojević Coba, dipl.ing.
COBA Systems Software
Serbia, 19300 Negotin, Srbe Jovanovića 1/10
www.cobasystems.com, coba@cobasystems.com

Re: any Express++ User who use harbour ?

Posted: Mon Dec 21, 2020 1:11 pm
by Auge_Ohr
hi,

you will find harbour Groups here
https://groups.google.com/g/harbour-devel
https://groups.google.com/g/minigui-forum

my special Forum are https://www.hmgforum.com/index.php
if you want to join that Forum please write me a Email so i can tell Sysop that you are OK