HMG OBJECTS... A New Project!

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

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

HMG OBJECTS... A New Project!

Post by Roberto Lopez » Wed May 05, 2010 9:25 pm

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 433 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
esgici
Posts: 4518
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 391 times
Been thanked: 111 times
Contact:

Post by esgici » Wed May 05, 2010 9:47 pm

Thanks a lot Roberto :)

Best regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5264
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Thu May 06, 2010 3:21 am

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:

Post by swapan » Thu May 06, 2010 3:52 am

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: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 1 time

Post by sudip » Thu May 06, 2010 4:37 am

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

Post by jerryfinuliar » Thu May 06, 2010 5:14 am

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:

Post by Alex Gustow » Thu May 06, 2010 8:17 am

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: 185
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Been thanked: 8 times
Contact:

Post by karweru » Thu May 06, 2010 8:54 am

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: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Thu May 06, 2010 12:58 pm

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: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Thu May 06, 2010 1:16 pm

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