Welcome to the Project Developers' Table

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

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez » Tue Oct 19, 2010 4:33 pm

bedipritpal wrote:Hello Group

Though this message can be ignored, but it will be useful if acted upon.

There are tons of scattered "demos" with names "demo_n" .
It is a lot of work for user to see what is where to look into.
Plus it is a repeatitive code. Also it does not portray a composite
application view of HMG.

What I believe, most of the demos can be clubbed into one
showcase application with bells and whisles. It will facilitates:

1. A showcase application a new user can use as a template.
2. Maintenance of the code will be easier.
3. You will have to write less code.
4. User will always have to look into at one place.

hbIDE is one example of showcasing hbQT as a whole.

Pritpal,

I agree with you about that we need a complete application to show all HMG capabilities.

In fact we already have them in HMG 3.x samples. We do no included in HMG.4 yet, because many things are not completed yet and they will not work.

I do not agree with you about demo_* concerns. I'll explain:

Until 3.x version HMG supported two kinds of syntax: xBase and alternate.

xBase is the @...COMMAND style and alternate is the DEFINE... END style.

HMG.4 supports OOP too.

The idea of 'repetitive' demos is to show how to do the same things using each one of the three styles. So, they must remain.

Besides that, my experience as teacher in computing science, is that the best way to teach to beginners is to focus in only one topic at the same time.

So, if someone is curious about the (ie) button control, he just must to go to the button folder and look at the three demos (OOP, xBase and Alternate syntax) to choose your preferred style and learn about the basics of the control.

Please, remember that HMG is aimed to be simple and easy to use, inspired by the original xBase spirit. The samples must be evaluated in such context.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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 » Tue Oct 19, 2010 4:41 pm

bedipritpal wrote:Hello All

Can we avoid messages like:

Thanks.

Thank you Roberto.

Unless some work is really out of the routine.
It just increases the number of pages of message board.
Also we developers know what each other has done.

Yes, of course, if something merits this then please
do it, with clearly expressing the point of merit.

Just an _optimizing_ factor, you can safelt ignore.
If you have some free time to browse around other areas of this site, you'll find that we created here an atmosphere of companionship and friendship.

We share images of our countries, music, family stories humor and much other things.

I've promoted this, since I guess that we are human beings beyond programming and that we can communicate at multiple levels.

Moreover, I understand your concerns and I'll to keep the contact more professional on this thread.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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 » Tue Oct 19, 2010 4:48 pm

Roberto Lopez wrote:<...>you'll find that we created here an atmosphere of companionship and friendship.<...>
And I'm sure that many experts in human resources will find companionship and friendship feelings in a team, good things to enforce efficiency :)
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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 » Tue Oct 19, 2010 4:56 pm

bedipritpal wrote:Hello Group
<...>
hbIDE is one example of showcasing hbQT as a whole.
In fact, I've found HBIDE as an extremly complex thing to start learning.

It is well formatted and well coded but (IMHO) is just too complex for a beginner (like me).

Simple demos, like demoqt or testbrow has been extremely useful for me to understand the basics about QT/HBQT.

So, both things (simple and complex samples) must exist, targeting different skilled users.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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 » Tue Oct 19, 2010 5:06 pm

2010-10-19 14:05 UTC-0300 Roberto Lopez (<mail.box.hmg@gmail.com>)
- ChangelogStyle.txt
- CodeStyle.txt
- FAQ.TXT
- hmg.4.html
+ doc
+ doc/ChangelogStyle.txt
+ doc/CodeStyle.txt
+ doc/FAQ.TXT
+ doc/hmg.4.html
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Post by Ricci » Tue Oct 19, 2010 5:44 pm

Roberto Lopez wrote:
bedipritpal wrote: What I believe, most of the demos can be clubbed into one
showcase application with bells and whisles.
Please, remember that HMG is aimed be simple and easy to use, inspired by the original xBase spirit. The samples must be evaluated in such context.
Roberto, that is right.

It was always very helpful for me to find one or more demos for one command. Sometimes a short piece of code is more helpful than a docu.

If something in my complex program don´t work as I expect from the docu, I can use a modified demo to find the problem.

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Tue Oct 19, 2010 9:43 pm

::oQTObject:connect( QEvent_KeyPress , {|e|Self:DoKeyBoardEvents( e )} )


Self:DoKeyBoardEvents( e )
should return a boolean value

to understand why, please open qt assistant and look for
"events and event filters" page

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 » Tue Oct 19, 2010 9:59 pm

HMG.4 New Windows Binaries+Source Release (2010.10.14)

Hi All,

Updated Windows binaries containing the latest Harbour/HBQT and HMG library.

http://www.sourceforge.net/projects/hmg
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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 » Tue Oct 19, 2010 10:14 pm

mrduck wrote:::oQTObject:connect( QEvent_KeyPress , {|e|Self:DoKeyBoardEvents( e )} )


Self:DoKeyBoardEvents( e )
should return a boolean value

to understand why, please open qt assistant and look for
"events and event filters" page
Rathinagiri,

Since you've are the code author, you can evaluate better than me, the need for proposed changes and how to implement it.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Tue Oct 19, 2010 10:17 pm

Roberto Lopez wrote:
mrduck wrote:::oQTObject:connect( QEvent_KeyPress , {|e|Self:DoKeyBoardEvents( e )} )


Self:DoKeyBoardEvents( e )
should return a boolean value

to understand why, please open qt assistant and look for
"events and event filters" page
Rathinagiri,

Since you've are the code author, you can evaluate better than me, the need for proposed changes and how to implement it.
Roberto, I ask you to read that page. It is generic and I think it is important to know

Post Reply