IDE or manually write source?
Moderator: Rathinagiri
IDE or manually write source?
I'm a beginner at HMG and ask for advice: is it a recommendation to use IDE or manually write source?
I have a lot of experience with Clipper.
Thanks.
I have a lot of experience with Clipper.
Thanks.
Re: IDE or manually write source?
IMO, it's better to use IDE if you want to quickly start.
Sometimes I need to define some forms manually, sometimes I need to add some controls to form defined via IDE.
Sometimes I need to define some forms manually, sometimes I need to add some controls to form defined via IDE.
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: IDE or manually write source?
Welcome to the world of HMG
Try it both ways, you'll see what's better. PersWelcome to the world of HMG
HMG has plenty clipper syntax but also many control windows that can be written in two ways, it's a little confusing beginners (like me). Try one, try the other way, so you see what you prefer, both are good, a matter of taste
Greeting
Try it both ways, you'll see what's better. PersWelcome to the world of HMG
HMG has plenty clipper syntax but also many control windows that can be written in two ways, it's a little confusing beginners (like me). Try one, try the other way, so you see what you prefer, both are good, a matter of taste
Greeting
Re: IDE or manually write source?
Hello,
There is not a strong claim to use IDE but it is a helpful tool for designing of your forms.
BTW You can place the controls on form manually as it's showed in the following sample code:
Code: Select all
#include "minigui.ch"
STATIC Sys_BackColor
STATIC Sys_FontColor
Procedure Main()
LOCAL mNumLine
SET EPOCH TO Year(Date())-50
Sys_BackColor:= {255,255,255}
Sys_FontColor:= { 0, 0, 0}
DEFINE WINDOW Template01;
AT 186,389;
WIDTH 500;
HEIGHT 600;
TITLE 'Title';
MAIN
ON KEY ESCAPE ACTION thiswindow.RELEASE
mNumLine:= 0
@ mNumLine+= 10, 20 FRAME FRAME_1 ;
CAPTION 'FRAME_1' ;
WIDTH 340 ;
HEIGHT 390
@ mNumLine+= 10, 380 BUTTONEX BUTTONEX_1 ;
CAPTION '&Accept' ;
PICTURE 'Aceptar16' ;
WIDTH 100 ;
HEIGHT 25 ;
ACTION NIL ;
TOOLTIP 'Accept current data'
@ mNumLine+= 20, 50 LABEL LABEL_1 ;
VALUE 'LABEL_1' ;
WIDTH 100 ;
HEIGHT 15
@ mNumLine+= 0, 170 GETBOX GETBOX_1 ;
VALUE 'GETBOX_1' ;
WIDTH 100 ;
HEIGHT 20 ;
BACKCOLOR Sys_BackColor ;
FONTCOLOR Sys_FontColor
@ mNumLine+= 20, 380 BUTTONEX BUTTONEX_2 ;
CAPTION '&Cancel' ;
PICTURE 'CANCELAR16' ;
WIDTH 100 ;
HEIGHT 25 ;
ACTION NIL ;
TOOLTIP 'Cancel current data'
@ mNumLine+= 10, 50 LABEL LABEL_2 ;
VALUE 'LABEL_2' ;
WIDTH 100 ;
HEIGHT 15
@ mNumLine+= 0, 170 GETBOX GETBOX_2 ;
VALUE 'GETBOX_2' ;
WIDTH 100 ;
HEIGHT 20 ;
BACKCOLOR Sys_BackColor ;
FONTCOLOR Sys_FontColor
END WINDOW
Template01.CENTER
Template01.ACTIVATE
RETURN
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
- serge_girard
- Posts: 3166
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: IDE or manually write source?
Hi Bobgen,
Welcome from Belgium!
Serge
Welcome from Belgium!
Serge
There's nothing you can do that can't be done...
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: IDE or manually write source?
Hi Bobgen
Welcome to wonderful world of HMG
![Cool 8-)](./images/smilies/icon_cool.gif)
My preference is almost always use IDE, unless requires manual intervention on my code, form(s) or building process.
Salute from Turkiye,
Happy HMG'ing
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Viva INTERNATIONAL HMG ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: IDE or manually write source?
Thank you for the answers and good wishes.
I think I'm going to work in the IDE, and if necessary write the code manually. I've tried both variants and I do not have any problems.
Bobgen
I think I'm going to work in the IDE, and if necessary write the code manually. I've tried both variants and I do not have any problems.
Bobgen
Re: IDE or manually write source?
Welcome from Algeria
Said
Said