Page 1 of 5

HMG OBJECTS... A New Project!

Posted: Wed May 05, 2010 9:25 pm
by Roberto Lopez
Hi All,

The second experimental release of HMG OOP has a new name: HMG OBJECTS.

There is various fixes, changes and additions:

- 'Parent' property is optional now (the default value is the last window object defined).

- 'Button' class has been added.

- xBase and alternate syntax are supported now.

Enjoy!

Re: HMG OBJECTS... A New Project!

Posted: Wed May 05, 2010 9:47 pm
by esgici
Thanks a lot Roberto :)

Best regards

--

Esgici

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 3:21 am
by Rathinagiri
Great. :) Go on and on.

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 3:52 am
by swapan
Roberto Lopez wrote:Hi All,

The second experimental release of HMG OOP has a new name: HMG OBJECTS.

There is various fixes, changes and additions:

- 'Parent' property is optional now (the default value is the last window object defined).

- 'Button' class has been added.

- xBase and alternate syntax are supported now.

Enjoy!
Thanks a lot for trying to take HMG to one level ahead.....

Watch out ...Roberto Lopez in full swing! :)

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 4:37 am
by sudip
Wanderful :D :D :D , Roberto, I am dreaming ... :)

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 5:14 am
by jerryfinuliar
Hi,

Very nice move Roberto and Congratulations, I think this will be
another successful project from you.

Best Regards

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 8:17 am
by Alex Gustow
Roberto, looks and works well, thanks for this next step ("on the way to our great future" :) ). We have "second (OOP) eye" now! :)

Only one question: what means

Code: Select all

_HMG_SYSDATA [ 323 ] := 0
?
Can we change it to any "human-looked" command?

(Grigory, it's for you too)
And one test report:
I tried to compile it in HMG Ext. (1.8.82a)

Linker couldn't resolve function "_DefineMixedButton()" (in "lib\button.prg").

(in HMG Ext. in "source\h_button.prg" we have only "_DefineButton()" and "_DefineImageButton()" for "standard" button; "mixed mode" - for "ButtonEx" control and function for it's definition called "_DefineOwnerButton()")

I commented (in "lib\button.prg" - "METHOD Create() CLASS BUTTON") line with "_DefineMixedButton()", copy line with "_DefineImageButton()" and paste to this place. (only for to compile with HMG Ext. and to look "what happens").

It looks and works (without "caption" on Button3 of course) well too.

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 8:54 am
by karweru
Like Sudip, I got to be dreaming!! Thank you Roberto. This is really a life saver for me because i've always programmed in an oop way, habits picked from class(y)+clipper days! Thank you again! You are a real God-send.

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 12:58 pm
by Roberto Lopez
Alex Gustow wrote:Roberto, looks and works well, thanks for this next step ("on the way to our great future" :) ).
To infinity and beyond! ;)
Alex Gustow wrote: We have "second (OOP) eye" now! :)
Yes... For 'Semi-OOP' one was enough... ;)
Alex Gustow wrote: Only one question: what means

Code: Select all

_HMG_SYSDATA [ 323 ] := 0
?
Can we change it to any "human-looked" command?
The 'offending' line come from next release's 'h_init.prg', so it will be not a problem for humans (or us) in the future ;)

Re: HMG OBJECTS... A New Project!

Posted: Thu May 06, 2010 1:16 pm
by srvet_claudio
Felicitaciones Roberto,
MUY BUENO!!!!
todos los días nos sorprendes con algo nuevo.
Un saludo cordial,
Claudio Soto.