Page 1 of 2

Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 2:44 am
by Roberto Lopez
NEWS FOR THIS RELEASE:

NEW DISTRIBUTION

From this release HMG OBJECTS is a separate project containing all needed components to work independently (Harbour+MingW+QT)

NEW MULTI-PLATFORM BACK-END

This new experimental release uses HBQT as backend (I still don't like it but it is the only multi-platform GUI framework officially supported by Harbour, so I've decided to experiment with it :) )

SEMI-OOP COMPATIBILITY

From this release, object variable assigned to a window created with DEFINE WINDOW command, is automatically made public. At control creation, an instance variable is dynamically added to its parent window object. The name of this instance variable, is the control's 'stringified' object variable name and its content is the control object. So, you could access a particular control from any place without regarding about scoping, exactly like standard HMG. So, we have standard OOP and semi-OOP to select :)

INSTALLATION:

Please unpack in c:\hmg.objects (OTHERWISE IT WILL NOT WORK).

Download: site

THANKS

Connection with QT was possible because the works of Pritpal Bedi & Marcos Antonio Gambeta (HBQT project) and CarozoDeQuilmes & Bruno Luciani (HBQTCOMMAND project)


Enjoy!

Roberto.

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 3:20 am
by Rathinagiri
Oh Great Roberto!

No words to thank. :)

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 3:24 am
by Rathinagiri
From this release, object variable assigned to a window created with DEFINE WINDOW command, is automatically made public. At control creation, an instance variable is dynamically added to its parent window object. The name of this instance variable, is the control's 'stringified' object variable name and its content is the control object. So, you could access a particular control from any place without regarding about scoping, exactly like standard HMG. So, we have standard OOP and semi-OOP to select :)
That would be perfect. I think we needn't change our existing code a lot.

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 4:08 am
by sudip
Hello Roberto,

Thank you very much :)

Very very good news for all of us :D

Two good news - OOP and Multi Platform :D

I am very eager to test with it ... :D (now I am downloading)

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 4:11 am
by swapan
Roberto Lopez wrote:NEWS FOR THIS RELEASE:

NEW DISTRIBUTION

NEW MULTI-PLATFORM BACK-END

This new experimental release uses HBQT as backend
Roberto.
Thanks for this initiative.
Its seems I've to catch up a lot with the latest happenings in Harbour platform.
What's this HBQT all about?

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 4:17 am
by sudip
Dear Swapan,

You may find small information of HBQt in the following link http://hbide.vouch.info/index.html?hbqt.htm

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 4:26 am
by swapan
sudip wrote:Dear Swapan,

You may find small information of HBQt in the following link http://hbide.vouch.info/index.html?hbqt.htm
Ok...thx for link Sudip.

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 5:07 am
by Rathinagiri
Hi Roberto,

Thanks for your fantastic. It is just working great!

Can you please remove executable files from samples directory?

Also run time libraries (dll files) can be distributed once.

IMHO, This would reduce the installation file size considerably.

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 5:39 am
by sudip
Hello Roberto,

I tested this. Excellent :)

As per my initial test:
1. Old HMG syntax changed (for OOP). But, more flexible. :)
2. Size of .exe file increased.
3. Required .dll files. So, now, we can't have stand alone .exe file. We must accept it to make it multi-platform :)

I like it :)

Rathi, you are correct. :)

Re: Multi-platform HMG OBJETS? ... YES!

Posted: Mon Aug 09, 2010 11:46 am
by esgici
Fantastic :!: :D

Thanks a lot Roberto :)

Best regards

--

Esgici