HMG OBJECTS... A New Project!
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
HMG OBJECTS... A New Project!
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!
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 631 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG OBJECTS... A New Project!
Thanks a lot Roberto
Best regards
--
Esgici
Best regards
--
Esgici
Viva INTERNATIONAL HMG
- 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!
Great. Go on and on.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG OBJECTS... A New Project!
Thanks a lot for trying to take HMG to one level ahead.....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!
Watch out ...Roberto Lopez in full swing!
- jerryfinuliar
- Posts: 6
- Joined: Tue Jan 19, 2010 6:03 am
Re: HMG OBJECTS... A New Project!
Hi,
Very nice move Roberto and Congratulations, I think this will be
another successful project from you.
Best Regards
Very nice move Roberto and Congratulations, I think this will be
another successful project from you.
Best Regards
- Alex Gustow
- Posts: 290
- Joined: Thu Dec 04, 2008 1:05 pm
- Location: Yekaterinburg, Russia
- Contact:
Re: HMG OBJECTS... A New Project!
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?
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.
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.
- 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!
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.
Gilbert.
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG OBJECTS... A New Project!
To infinity and beyond!Alex Gustow wrote:Roberto, looks and works well, thanks for this next step ("on the way to our great future" ).
Yes... For 'Semi-OOP' one was enough...Alex Gustow wrote: We have "second (OOP) eye" now!
The 'offending' line come from next release's 'h_init.prg', so it will be not a problem for humans (or us) in the futureAlex Gustow wrote: Only one question: what means?Code: Select all
_HMG_SYSDATA [ 323 ] := 0
Can we change it to any "human-looked" command?
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG OBJECTS... A New Project!
Felicitaciones Roberto,
MUY BUENO!!!!
todos los días nos sorprendes con algo nuevo.
Un saludo cordial,
Claudio Soto.
MUY BUENO!!!!
todos los días nos sorprendes con algo nuevo.
Un saludo cordial,
Claudio Soto.