IDE.4 Test 2011.11.28

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

Moderator: Rathinagiri

Post Reply
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

IDE.4 Test 2011.11.28

Post by Roberto Lopez »

Hi All,

Here is a new release with various changes.

With the recent changes introduced to HMG.4, all controls available in form editor will compile and run ok.

Please remember:

- The way in that HMG 3 IDE form designer generates code IS NOT the recommended way to code semi-oop in HMG.4. It reflects the status of HMG at first IDE release in 2004 (MiniGUI library at that time). That style will be supported for backwards compatibility only. This way of coding is considered DEPRECATED (backwards compatible only) in HMG.4. The preferred semi-oop way is using one property per line.

- This IDE.4 is only temporary, until the new IDE be finished.

- Please update your HMG.4 sources to get the best results.

- Note that some things in HMG.4 remains not implemented or have a different behavior yet.
Enjoy!
Attachments
ide4d.zip
(1 MiB) Downloaded 1547 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: IDE.4 Test 2011.11.28

Post by jairpinho »

height combobox esta visivel apos compilar e onghange esta executando junto com a inicialização da janela main
Attachments
combobox.png
combobox.png (109.49 KiB) Viewed 10943 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: IDE.4 Test 2011.11.28

Post by jairpinho »

objetos adicionados na tab fica fora de posição original
Attachments
tab em run
tab em run
tab2.png (27.28 KiB) Viewed 10941 times
tab na ide
tab na ide
tab1.png (36.74 KiB) Viewed 10941 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
gvaronas
Posts: 109
Joined: Wed Aug 06, 2008 5:21 pm

Re: IDE.4 Test 2011.11.28

Post by gvaronas »

Hola:
Estoy haciendo algunas pruebas con el IDE4d del 28/11/2011 y aque reporto algunas controles que no estan funcionando adecuadamente.
1.- La clausula AUTOSIZE del ToolBar genera el siguiente error:

Code: Select all

hbmk2: Processing local make script: hbmk.hbm
hbmk2: Compiling Harbour sources...
Harbour 3.1.0dev (Rev. 17142)
Copyright (c) 1999-2012, http://harbour-project.org/

.\Main.fmg(7) Error E0030  Syntax error "syntax error at 'TLB1'"

1 error
La linea 7 de main.fmg tiene esto:

Code: Select all

        BUTTON tlb1 CAPTION "tb 1" PICTURE "BTN" ACTION test() TOOLTIP "tt 1" AUTOSIZE
gvaronas
Posts: 109
Joined: Wed Aug 06, 2008 5:21 pm

Re: IDE.4 Test 2011.11.28

Post by gvaronas »

Se me escapó el post anterior y por darle "Preview" le di "Submit", bueno, continuo con el reporte:

Siguiendo con el punto 1 del post anterior:

Quitandole la clausula AUTOSIZE el programa compila y genera el EXE, pero de los 2 botones del ToolBar, solo muestra el ultimo boton y con una altura pequeña que no se puede apreciar bien (ver imagen).

2.- Agregue un TEXTBOX con la clausula DateType con DATE y me sale un error que dice: VALUE wrong type. error within TEXTBOX class, Value() method.

El código generado por el IDE es este:

Code: Select all

     DEFINE TEXTBOX Text_1
        ROW    150
        COL    40
        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
        DATE .T. 
        VALUE Nil
    END TEXTBOX
Al quitarle el DATE y ponerle CHARACTER compila y funciona bien.

Estoy subiendo alguna archivos de imagenes, pero no se si llegaran.

Salu2,
GVS
gvaronas
Posts: 109
Joined: Wed Aug 06, 2008 5:21 pm

Re: IDE.4 Test 2011.11.28

Post by gvaronas »

Ya vi que solo acepta archivos PNG, yo estaba subiendo JPG, bueno alli van las imágenes

Salu2,
GVS
Attachments
foto2.png
foto2.png (25.24 KiB) Viewed 10374 times
foto1.png
foto1.png (19.13 KiB) Viewed 10374 times
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: IDE.4 Test 2011.11.28

Post by danielmaximiliano »

Hola:
encontre un conflicto entre buil.bat HMG0.3.0.40 y Buildapp.bat HMG.4
contrui un aplicacion en HMG3 y despues tratar de contruir en HMG.4 da errores

translate google
Hello
I found a conflict between HMG0.3.0.40 and Buildapp.bat buil.bat HMG.4
build an application in HMG3 and then try to build in HMG.4 gives errors

Code: Select all

rem ****************   Build.bat HMG.3.x ***********************************************
@echo off

rem ******************************************************************************
rem SET HMGPATH
rem ******************************************************************************
rem
rem Using %~dp0 the HMGPATH is automatically set to current (hmg) folder making it
rem portable (zero config)

	SET HMGPATH=%~dp0

rem ******************************************************************************
rem SET BINARIES PATHS
rem ******************************************************************************

	SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%
Conflicto

Code: Select all

REM
REM $Id: buildapp.bat 831 2011-11-28 21:56:32Z roblez $
REM

IF DEFINED HMGPATH GOTO HmgPathDefined       <<===== defined variable

SET HMGPATH=%~dp0
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\harbour\comp\mingw\bin;%PATH%
SET HB_WITH_QT=%HMGPATH%\harbour\include
the 2 HMG distributions use the same environment variable

Code: Select all

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply