HMG 3.0.40

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
mol
Posts: 3805
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.40

Post by mol »

I've tested. Error still occurs when I try to modify forms defined in previous version with IDE.
you can see screen below:
Image

When I modify CASECONVERT property to UPPER or LOWER, everything compiles OK.
But it's hard to have only lower or upper textboxes :D
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.40

Post by Rathinagiri »

Hi Marek,

I have tried to compile the following code and it works fine. It is the code from IDE Form designer with one button and a text box. Can you compile this?

Code: Select all

* HMG-IDE Form Designer Generated Code
* (c) Roberto Lopez - http://sites.google.com/site/hmgweb

DEFINE WINDOW TEMPLATE AT 263 , 299 WIDTH 550 HEIGHT 350 VIRTUAL WIDTH Nil VIRTUAL HEIGHT Nil TITLE "" ICON NIL MAIN CURSOR NIL ON INIT Nil ON RELEASE Nil ON INTERACTIVECLOSE Nil ON MOUSECLICK Nil ON MOUSEDRAG Nil ON MOUSEMOVE Nil ON SIZE Nil ON MAXIMIZE Nil ON MINIMIZE Nil ON PAINT Nil BACKCOLOR Nil NOTIFYICON NIL NOTIFYTOOLTIP NIL ON NOTIFYCLICK Nil ON GOTFOCUS Nil ON LOSTFOCUS Nil ON SCROLLUP Nil ON SCROLLDOWN Nil ON SCROLLLEFT Nil ON SCROLLRIGHT Nil ON HSCROLLBOX Nil ON VSCROLLBOX Nil

    DEFINE BUTTON Button_1
        ROW    100
        COL    170
        WIDTH  100
        HEIGHT 28
        ACTION Nil
        CAPTION "Button_1"
        FONTNAME "Arial"
        FONTSIZE 9
        TOOLTIP ""
        FONTBOLD .F.
        FONTITALIC .F.
        FONTUNDERLINE .F.
        FONTSTRIKEOUT .F.
        ONGOTFOCUS Nil
        ONLOSTFOCUS Nil
        HELPID Nil
        FLAT .F.
        TABSTOP .T.
        VISIBLE .T.
        TRANSPARENT .F.
        MULTILINE .F.
        PICTURE Nil
        PICTALIGNMENT TOP
    END BUTTON

    DEFINE TEXTBOX Text_1
        ROW    150
        COL    170
        WIDTH  120
        HEIGHT 24
        FONTNAME "Arial"
        FONTSIZE 9
        TOOLTIP ""
        ONCHANGE Nil
        ONGOTFOCUS Nil
        ONLOSTFOCUS Nil
        FONTBOLD .F.
        FONTITALIC .F.
        FONTUNDERLINE .F.
        FONTSTRIKEOUT .F.
        ONENTER Nil
        HELPID Nil
        TABSTOP .T.
        VISIBLE .T.
        READONLY .F.
        RIGHTALIGN .F.
        DISABLEDBACKCOLOR Nil
        DISABLEDFONTCOLOR Nil
        CASECONVERT NONE
        BACKCOLOR Nil
        FONTCOLOR Nil
        INPUTMASK Nil
        FORMAT Nil
        VALUE ""
    END TEXTBOX

END WINDOW

East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3805
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.40

Post by mol »

I resolved my problem with CASECONVERT...
I've declared my own constant NONE in different module.
Sorry, my fault :lol:

Best regards, Marek
User avatar
vierirom
Posts: 22
Joined: Sat Aug 20, 2011 3:49 pm
Location: Rome, Italy

Re: HMG 3.0.40

Post by vierirom »

Many Thanks to Roberto, Rathi and all contributing people.
It's my fault or..
When installing hmg 3.0.40 in the default directory (\hmg.3.0.40) trying to build (grid 39 for example) or something else ... it looks for build.bat in c:\hmg.3.0.39 and (of course) doesn't find it if never installed.
Changing the installation path to 3.0.39 averything seems to go flawlessy.

One more question Rathi (sorry)
I didn't understand how to install and use hmg 4.0, and the differences with hmg 3.0
Thank again.
Vieri
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.40

Post by Rathinagiri »

Again, it's my fault. :(

I must have cleaned ini files before creating the setup file. I will again upload the corrected version.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3805
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.40

Post by mol »

It's impossible to call debugger in this version. What's going on?
Could you check it, Rathi?

Marek
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.0.40

Post by Pablo César »

I have no problems with debugger in this version. What I am really feel diference form IDE of .35 to .40 is when needs to compile in console mode. Executables are creating diferent way. Always open a new session in line command even been in console mode setups. With .35 it is just to mark if is console mode or not. This is great.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.40

Post by esgici »

Hi Vieri

First, welcome aboard,

regards from Turkiye :)
vierirom wrote: ...
When installing hmg 3.0.40 in the default directory (\hmg.3.0.40) trying to build (grid 39 for example) or something else ... it looks for build.bat in c:\hmg.3.0.39 and (of course) doesn't find it if never installed.
..
Simply open C:\hmg.3.0.40\IDE\hmg.ini file by any text editor ( Notepad or anything else ) and change

C:\hmg.3.0.39

line to :

C:\hmg.3.0.40

That's all :arrow:

Happy HMG'ing :)

--

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

Re: HMG 3.0.40

Post by esgici »

Hi Marek
mol wrote:It's impossible to call debugger in this version. What's going on?
What's the way you call debugger ?

In the Configuration page of IDE there is a "debug" option ( options are stated here ) and the build.bat may contains a /d option for debug in console and GUI mode.

I don't use debugger, so haven't any experience. I hope above info will help you.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
vierirom
Posts: 22
Joined: Sat Aug 20, 2011 3:49 pm
Location: Rome, Italy

Re: HMG 3.0.40

Post by vierirom »

Thank You Egisci and Rathi.
(Greetings from Italy)
For My 2nd question, anybody can answer me (regarding the differences between HMG 3.0 and HMG 4.0 ) ?
I also Tryed to install it (HMG 4.0) but I didn't undertood how to ... start.
Be patient with me.

Thank a lot to everybody.
Post Reply