HMG OBJECTS... A New Project!

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

HMG OBJECTS... A New Project!

Post 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!
Attachments
hmg.objects.2010.05.06.rar
(16.69 KiB) Downloaded 624 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG OBJECTS... A New Project!

Post by esgici »

Thanks a lot Roberto :)

Best regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG OBJECTS... A New Project!

Post by Rathinagiri »

Great. :) Go on and on.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: HMG OBJECTS... A New Project!

Post 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! :)
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG OBJECTS... A New Project!

Post by sudip »

Wanderful :D :D :D , Roberto, I am dreaming ... :)
With best regards,
Sudip
User avatar
jerryfinuliar
Posts: 6
Joined: Tue Jan 19, 2010 6:03 am

Re: HMG OBJECTS... A New Project!

Post by jerryfinuliar »

Hi,

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

Best Regards
User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: HMG OBJECTS... A New Project!

Post 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.
User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: HMG OBJECTS... A New Project!

Post 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.
Kind regards,
Gilbert.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG OBJECTS... A New Project!

Post 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 ;)
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG OBJECTS... A New Project!

Post by srvet_claudio »

Felicitaciones Roberto,
MUY BUENO!!!!
todos los días nos sorprendes con algo nuevo.
Un saludo cordial,
Claudio Soto.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply