Page 1 of 1
IDE.4 Test 2011.11.28
Posted: Mon Nov 28, 2011 9:35 pm
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!
Re: IDE.4 Test 2011.11.28
Posted: Wed Nov 30, 2011 12:05 am
by jairpinho
height combobox esta visivel apos compilar e onghange esta executando junto com a inicialização da janela main
Re: IDE.4 Test 2011.11.28
Posted: Wed Nov 30, 2011 12:30 am
by jairpinho
objetos adicionados na tab fica fora de posição original
Re: IDE.4 Test 2011.11.28
Posted: Thu Dec 29, 2011 1:52 am
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
Re: IDE.4 Test 2011.11.28
Posted: Thu Dec 29, 2011 2:28 am
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
Re: IDE.4 Test 2011.11.28
Posted: Thu Dec 29, 2011 2:33 am
by gvaronas
Ya vi que solo acepta archivos PNG, yo estaba subiendo JPG, bueno alli van las imágenes
Salu2,
GVS
Re: IDE.4 Test 2011.11.28
Posted: Thu Dec 29, 2011 4:55 pm
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