How present project

Moderator: Rathinagiri

Post Reply
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

How present project

Post by dragancesu »

I am a new user HMG's and want to show you what I made

It is a tool for developers to create forms and reports quickly

To start with EXE version since we are now important comments

I will have some more questions that bother me as a beginner
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: How present project

Post by serge_girard »

Hello dragancesu,


Very intersting!


Serge
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: How present project

Post by esgici »

Hi Dragan
dragancesu wrote:I am a new user HMG's and want to show you what I made

It is a tool for developers to create forms and reports quickly

To start with EXE version since we are now important comments

I will have some more questions that bother me as a beginner
HMG-IDE is both project manager and form designer. So you can build and edit your forms with IDE.

In addition to Print System and HMG-HPDF, HMG have a clever Report Writer too :
Report writer in  doc tree
Report writer in doc tree
ReportWriterInDocTree.JPG (25.87 KiB) Viewed 5351 times
You would find multiple samples in :

\SAMPLES\Controls\ReportBasic
\SAMPLES\Controls\ReportAdvanced

your HMG install path.

Here you are between friends;

please don't hesitate asking anything; we would answer as well as we know ;)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: How present project

Post by dragancesu »

Application development see each in its own way, for me these are the parts that make menu, processing, forms and reports, and a data dictionary

The premise that programmers need to know to make menu, and processing.

Data Dictionary is nothing special but useful.

Forms are the basis of the program and not simple, I see one, dbf with three fields, the program more than 300 lines long, that's a lot of typing

Dear @esgici I saw your recent post Report in 10 step, it's great, but finish program is about 300 lines, a lot of typing

Now only one question for all: how to create master-detail form?
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: How present project

Post by esgici »

Hi Dragan
but finish program is about 300 lines, a lot of typing
300 lines is problem for you :?:

Didn't see \source\*.prg :?:

h_init.prg is 450+ KB and 6500+ lines :shock:

There is a point : windows .prgs are relatively bigger in size than DOS .prgs; however this is normal result comparing the sheer number of details.

Regarding PrTest11.prg, in addition to above considerations, please look at here.
Application development see each in its own way...
You are right; therefore already HMG is a tool, doesn't impose "way"s.
Data Dictionary is nothing special but useful.
If you would think share your data dictionary with us, may be helpful to someones.
Now only one question for all: how to create master-detail form?
I don't know a form 'kind" like "master-detail" :?

Probably we will find something to say; If you would inform us about your master and detail tables and a draft of the form you think ;)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines

Re: How present project

Post by dhaine_adp »

Welcome Dragancesu.
Dear @esgici I saw your recent post Report in 10 step, it's great, but finish program is about 300 lines, a lot of typing
I bet to disagree with this sir, 300 lines is a plain brief code and can be written in 5 minutes when you are in a right mood.

Please visit http://www.hmgextended.com" onclick="window.open(this.href);return false; and look for PCT (Programming without Coding Technology) created using the HMG cousin called MiniGUI Library.

I believed all of us here (in this forum) love's to write our code. Also maybe I misinterpret what you have posted, you can try using NotePad++ or Emerald Editor (Crimson Editor). I love Crimson Editor because it supports block typing. Imagine that I have to write 20 lines of code to programmatically disable 10 buttons. I would simply turn block mode on (ALT-C) and then highlight the lines and type hWindowName.btnControl1.Enabled := .f. or simply assigning a 50 fields to an array manually by blocking 50 lines and typed

aFld_[] := FIELDGET() // comments here

To enter the number I simply go to excel and write '1 (entered as text) and then drag the mouse down to increment the number to 50. Again highlight those numbers, do copy and then paste to the editor in Block Mode.

See how easy was that and my coffee is still boiling hot.

Regards,

Danny
Regards,

Danny
Manila, Philippines
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: How present project

Post by esgici »

Good explanation;

thank Danny :D
Viva INTERNATIONAL HMG :D
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: How present project

Post by dragancesu »

That there be no misunderstanding, I like to programing, and because I'm on this forum

More recently, use of HMG and I had a question, which is better practice: FMG or PRG. Comments have outweighed the benefit programs, better control and easier to update. When it comes to the FMG must be used HMG-IDE and that many do not like

"300 lines is a plain and brief code can be written in 5 minutes when you are in the right mood." How long does it when you're not in the mood? Often need to do something quickly, and no coffee ... Then what?

My idea is to have some standard and boring things can speed up and help yourself. a simple program generator to make good template, still easier / harder depending on the assignment.

Long ago they showed me one database, one of the first exercises is to "form in 60 seconds", whether it be with a clipper or HMG? I can say that

The basic and the SQL receive a simple "select * from table", a little more pleasant and it's over. Report in Clipper / HMG for 60 seconds? and it can

I need more time to prepare and upload to see

Until then greetings to all
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: How present project

Post by luisvasquezcl »

Hello
I think that all contributions are welcome.
Best regards,
Luis Vasquez.
Post Reply