HMG 3.2 (Stable)

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
tonton2
Posts: 305
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 8 times
Been thanked: 12 times
Contact:

Re: HMG 3.2 (Stable)

Post by tonton2 »

Bonsoir,
Pour moi tout marche trés bien que ce soit dans Unicode ou Ansi pourtant dans ma compilation j'ai 36 fichiers *.prg.
Merci pour tout ce que vous faîtes. :D

NB.j'ais mis le fichier IDE_Ansi et IDE_Unicode du 25/08/2013 et jai changé dans hmg.ini j'ai remis hmg.c:\hmg.3.2 à la place de c:\hmg.3.1.5 et en plus j'ai mis frenc.ansi et french.uni

Hello,
For me everything works very well in either Unicode or Ansi yet in my compilation I have 36 files *. Prg.
Thank you for all that you do. :roll:

NB.j 'ais set IDE_Ansi and IDE_Unicode file 25/08/2013 and I have changed hmg.ini I gave hmg.c: \ hmg.3.2 instead of c: \ hmg.3.1.5 and I put more frenc.ansi and french.uni
L'Algerie vous salut
Y.TABET

User avatar
esgici
Posts: 4523
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 400 times
Been thanked: 112 times
Contact:

Post by esgici »

Hi All

I should repeat this.

( viewtopic.php?f=30&t=2996&p=27136#p27133)

Do you know peel onions ?

Attention : this article is dated 2003 :o

Happy HMG :D
Last edited by esgici on Tue Dec 10, 2013 8:38 pm, edited 1 time in total.
Viva INTERNATIONAL HMG :D

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 149 times
Contact:

Post by srvet_claudio »

tonton2 wrote:Hello,
For me everything works very well in either Unicode or Ansi yet in my compilation I have 36 files *. Prg.
Thank you for all that you do. :roll:

NB.j 'ais set IDE_Ansi and IDE_Unicode file 25/08/2013 and I have changed hmg.ini I gave hmg.c: \ hmg.3.2 instead of c: \ hmg.3.1.5 and I put more frenc.ansi and french.uni
Thanks Tonton.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 149 times
Contact:

Post by srvet_claudio »

Pablo César wrote:Hi Marek,

Is it possible you post any short example with the same behaviour ?
+1
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 149 times
Contact:

Post by srvet_claudio »

Hi All.
This patch allow sets tooltip in the image control.

Copy the

PRG and C files in c:\hmg.3.2\source

and CH file in c:\hmg.3.2\include

and rebuild the lib.
Attachments
HMG.3.2_patch1.rar
(41.08 KiB) Downloaded 273 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César »

srvet_claudio wrote:Hi All.
This patch allow sets tooltip in the image control.
Thank you master !! :)

But for me here, it doesn't work... (copying files in respective folders and rebuilded) :(
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César »

Hi Claudio, I made following test (same in attached executable file):

Code: Select all

#include <hmg.ch>

Function Main

DEFINE WINDOW demo AT 40,40 WIDTH 500 HEIGHT 400 TITLE 'Demo Tooltip' ;
    ICON NIL MAIN 

    @ 10,10 IMAGE imagen1 picture "pastel.jpg"  WIDTH 150 HEIGHT 150 ACTION  Msginfo("Hola") STRETCH TOOLTIP "Prueba de Tooltip"
	
	_DefineImage ( "imagen2", "demo", 200, 180, "pastel.jpg" , 150 , 150 , {||Msginfo("Hola")}  , Nil, .F. , .T. , .F.,{0,0,0},.T.,Nil, "Prueba de Tooltip" )
  
	DEFINE IMAGE imagen3
	    ROW    10
	    COL    200
	    WIDTH  150
	    HEIGHT 150
	    PICTURE "pastel.jpg"
		ACTION  Msginfo("Hola") 
		TOOLTIP "Prueba de Tooltip"
	    HELPID Nil
	    VISIBLE .T.
	    STRETCH .T.
	END IMAGE
	
	DEFINE LABEL Label_1
	    ROW    230
	    COL    360
	    WIDTH  120
	    HEIGHT 24
	    VALUE "<- This is working"
	    FONTNAME "Arial"
	    FONTSIZE 9
	    TOOLTIP ""
	    FONTBOLD .F.
	    FONTITALIC .F.
	    FONTUNDERLINE .F.
	    FONTSTRIKEOUT .F.
	    HELPID Nil
	    VISIBLE .T.
	    TRANSPARENT .F.
	    ACTION Nil
	    AUTOSIZE .F.
	    BACKCOLOR Nil
	    FONTCOLOR Nil
	END LABEL

	DEFINE BUTTON Button_1
	    ROW    220
	    COL    10
	    WIDTH  100
	    HEIGHT 28
	    ACTION ThisWindow.Release()
	    CAPTION "Salida"
	    FONTNAME "Arial"
	    FONTSIZE 9
	    TOOLTIP "Button ToolTip Test"
	    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
	
end window
Activate Window demo
Return Nil
I think Claudio, is missing your C:\hmg.3.2\INCLUDE\i_altsyntax.ch file to be attached into the HMG.3.2_patch1.rar (for DEFINE IMAGE too) and some variable treatments for undeclared variables in C:\hmg.3.2\SOURCE\h_image.prg to turn it workable, I guess it so. I saw the time of your posting was too late, you were so tired at this time... :(

But calling the function like this:
_DefineImage("imagen2","demo",200,180,"pastel.jpg",150,150,{||Msginfo("Hola")} ,Nil,.F.,.T.,.F.,{0,0,0},.T.,Nil, "Prueba de Tooltip")
it is working good ! (in WinXP and Win7) :)
Attachments
demo (executable file).rar
(827.74 KiB) Downloaded 210 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César »

There is something wrong with TRANSPARENT in @...IMAGE, because when I trying gives me syntax error...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 149 times
Contact:

Post by srvet_claudio »

Pablo César wrote: But calling the function like this:
_DefineImage("imagen2","demo",200,180,"pastel.jpg",150,150,{||Msginfo("Hola")} ,Nil,.F.,.T.,.F.,{0,0,0},.T.,Nil, "Prueba de Tooltip")
it is working good ! (in WinXP and Win7) :)
Pablo César wrote:There is something wrong with TRANSPARENT in @...IMAGE, because when I trying gives me syntax error...
Pablo, on my system everything works OK, the problem is a conflict caused by the macro-replacement of Harbour.
viewtopic.php?p=31299#p31299
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
meneale
Posts: 51
Joined: Sat Jan 12, 2013 2:05 am
Location: Campinas -SP, Brasil

Post by meneale »

This is how image with transparent property looks :|
Attachments
Capture00112.PNG
Capture00112.PNG (37.06 KiB) Viewed 3650 times
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35

Post Reply