HMG Easy Build

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

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

Re: HMG Easy Build

Post by esgici »

srvet_claudio wrote:Esgici and Toledo:
I adapted the functions of you and works Ok for me.
Ok, thanks :)

@Toledo :

Code: Select all

Url_Search := URL_FORUM + "/search.php?keywords="+Key_Search+"&ch=300"
Very nice, masterly; thanks to hint :)

@Dr. Soto :

Now, another suggestion :
Settings suggestion
Settings suggestion
EasyBuildSettingsSuggest.PNG (43.83 KiB) Viewed 5446 times

Code: Select all

***********************************************************************************
PROCEDURE SETTING_OPTIONS
***********************************************************************************
LOCAL nWidth, nInc := 20, cFolderHMG_aux := cFolderHMG

   DEFINE WINDOW Form_2;
         AT 0,0;
         WIDTH  420;
         HEIGHT 450;
         TITLE 'Setting Options';
         ICON  '';
         MODAL;
         NOSIZE
         
      ON KEY ESCAPE ACTION ThisWindow.Release()
      
      nWidth := Form_2.ClientAreaWidth

      @ 20, nInc        FRAME   Frame_1  CAPTION "HMG path library:" WIDTH (nWidth - nInc*2)      HEIGHT 50 BOLD
      @ 40, nInc + 10   TEXTBOX Text_1   VALUE   cFolderHMG          WIDTH (nWidth - nInc*2 - 50) HEIGHT 20 READONLY
      @ 35, nWidth - 55 BUTTON  Button_1 PICTURE "_open_folder"      WIDTH  30                    HEIGHT 30 ACTION (Form_2.Text_1.VALUE := SETTING_Folder(), cFolderHMG_aux := Form_2.Text_1.VALUE)

      @ 100, nInc      FRAME      Frame_2       CAPTION "Build in:" WIDTH (nWidth - nInc*2) HEIGHT 80 BOLD
      @ 120, nInc + 20 RADIOGROUP RadioGroup_1  OPTIONS {'32 bits','64 bits'}  VALUE nBuildBAT

      @ 200, nInc      FRAME      Frame_4       CAPTION "ON DBLCLICK HBP / PRG files:" WIDTH (nWidth - nInc*2) HEIGHT 60 BOLD
      @ 220, nInc + 20 RADIOGROUP RadioGroup_3  OPTIONS {'Build','Open'} VALUE 1 HORIZONTAL 
      
      @ 280, nInc      FRAME      Frame_3       CAPTION "Open .HBP file with:" WIDTH (nWidth - nInc*2) HEIGHT 60 BOLD
      @ 300, nInc + 20 RADIOGROUP RadioGroup_2  OPTIONS {'Default','IDE ANSI','IDE Unicode', 'NotePad'} VALUE nOpenHBP HORIZONTAL SPACING 90

      @ 360, nInc BUTTON  Button_2 CAPTION "Save"   PICTURE "_save"   LEFT  WIDTH 100 HEIGHT 30  ACTION (SETTING_Save (cFolderHMG_aux), Form_2.Release)
      @ 360, 165  BUTTON  Button_3 CAPTION "Apply"  PICTURE "_check"  LEFT  WIDTH 100 HEIGHT 30  ACTION (cFolderHMG := cFolderHMG_aux, nBuildBAT := Form_2.RadioGroup_1.VALUE, nOpenHBP := Form_2.RadioGroup_2.VALUE, Form_2.Release)
      @ 360, 295  BUTTON  Button_4 CAPTION "Cancel" PICTURE "_cancel" LEFT  WIDTH 100 HEIGHT 30  ACTION Form_2.Release

   END WINDOW

   Form_2.Button_4.SetFocus

   CENTER WINDOW Form_2
   ACTIVATE WINDOW Form_2

RETURN
Viva INTERNATIONAL HMG :D
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Easy Build

Post by srvet_claudio »

esgici wrote:Now, another suggestion :
Very Good!!!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG Easy Build

Post by danielmaximiliano »

srvet_claudio wrote:
esgici wrote:Now, another suggestion :
Very Good!!!
CONTEXT MENU

Build
Edit

......Better....
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG Easy Build

Post by Pablo César »

danielmaximiliano wrote:
srvet_claudio wrote:
esgici wrote:Now, another suggestion :
Very Good!!!
Contex menu......Better
Or DROPDOWN BUTTON ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG Easy Build

Post by danielmaximiliano »

Pablo César wrote:Or DROPDOWN BUTTON ?
Seria mejor sobre el Grid.. es un poco tedioso hacer click sobre el archivo despues sobre el Dropdown y elegir el modo..
boton contextual sobre el archivo prg o hbp y elegir la accion... ;)
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
pctoledo
Posts: 123
Joined: Wed Aug 25, 2010 10:45 am
Location: Araçatuba - SP - Brazil
Contact:

Re: HMG Easy Build

Post by pctoledo »

srvet_claudio wrote:Esgici and Toledo:
I adapted the functions of you and works Ok for me.
Dr. Claudio, only a small modification is required:

Code: Select all

LOCAL cPath := HMG_UPPER (Form_1.StatusBar.Item(1))+"\", cPath_
replace with:

Code: Select all

LOCAL cPath := HMG_UPPER(Form_1.Tree_1.Cargo (Form_1.Tree_1.Value))+"\", cPath_
Using Form_1.StatusBar.Item(1) will not work properly, because of the changes suggested by Esgici.
Regards/Saludos,

Toledo

Clipper On Line
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Easy Build

Post by srvet_claudio »

danielmaximiliano wrote:boton contextual sobre el archivo prg o hbp y elegir la accion...
Muy buena idea!
pctoledo wrote:replace with:
Code:
LOCAL cPath := HMG_UPPER(Form_1.Tree_1.Cargo (Form_1.Tree_1.Value))+"\", cPath_
thanks!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG Easy Build

Post by Rathinagiri »

A request from a lazy man. :)

Can we have the latest version?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG Easy Build

Post by Rathinagiri »

srvet_claudio wrote:This post is totally useless, it's just to complete my first 1000 posts. :lol: :lol: :lol:
Wow! Congrats Claudio. Many more 1000s expected. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Easy Build

Post by bpd2000 »

srvet_claudio wrote:This post is totally useless, it's just to complete my first 1000 posts. :lol: :lol: :lol:
Congrats
Best wishes
Attachments
untitled.PNG
untitled.PNG (46.84 KiB) Viewed 5396 times
BPD
Convert Dream into Reality through HMG
Post Reply