Page 2 of 8

Re: HMG 3.0.40

Posted: Mon Nov 14, 2011 4:43 pm
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

Re: HMG 3.0.40

Posted: Mon Nov 14, 2011 5:58 pm
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


Re: HMG 3.0.40

Posted: Tue Nov 15, 2011 8:19 am
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

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 2:10 am
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

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 5:21 am
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.

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 6:36 am
by mol
It's impossible to call debugger in this version. What's going on?
Could you check it, Rathi?

Marek

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 8:04 pm
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.

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 9:09 pm
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

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 9:40 pm
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

Re: HMG 3.0.40

Posted: Wed Nov 16, 2011 11:16 pm
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.