CONTROL LABEL IN HMG 3.4

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

CONTROL LABEL IN HMG 3.4

Post by andyglezl »

Hola
Tengo algunos programas que hice con versiones anteriores de HMG (actualmente estoy con 3.4)
en donde despliego un control LABEL (TRANSPARENT) con la hora HH:MM:SS y no existia el problema que ahora se presenta al compilar con HMG 3.4, el texto se va sobreponiendo y no se borra como anteriormente lo hacia.
Le pasa a alguien más ? alguna idea de como corregirlo ?
--------------------------------------------------------------------------------------------------------------------------------
Hello
I have some programs that I did with previous versions of HMG (now I am with 3.4)
where I display a Label control (TRANSPARENT) to the time HH: MM: SS and there was the problem that now arises when compiling with HMG 3.4, the text is overlapping and not deleted as previously did.
It happens to someone else? any idea how to fix it?

Reloj2.jpg
Reloj2.jpg (33.56 KiB) Viewed 5693 times
Reloj.jpg
Reloj.jpg (45.87 KiB) Viewed 5693 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
pctoledo
Posts: 123
Joined: Wed Aug 25, 2010 10:45 am
Location: Araçatuba - SP - Brazil
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by pctoledo »

you can do the following:

Code: Select all

Form_1.Label_1.Value:=Time()
Form_1.Label_1.REDRAW
Regards/Saludos,

Toledo

Clipper On Line
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by andyglezl »

Gracias Toledo

Intente con lo que comentaste, pero no tuvo ningun efecto, siguio igual.
Lo que hice fué lo siguiente y funcionó:
-------------------------------------------------------------------------------------
Thanks Toledo

Try as you mentioned, but had no effect, it remained the same.
What I did was this and it worked:

Form_1.LB_Reloj.Value := Time()
BT_ClientAreaInvalidateRect( "Form_1", 018, 500, 145, 035, .F.)
*Form_1.LB_Reloj.REDRAW
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by srvet_claudio »

I will ckeck.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by mol »

I've noticed the same problem ver. 3.4.0 all patches
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: CONTROL LABEL IN HMG 3.4

Post by EduardoLuis »

Hi Mol and Andyglez:

Please check my app Miniwriter (folder Samples\Applications\, and test it; it contains lots of control Label to simulate controls buttons and tabs, and works fine.- Perhaps issue appears on some SO.- I've tested on Win XPSP3, Win 7 and 8.-
With regards.
Eduardo
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi »

I tried several times to crush the keys and see what happens !!
greetings Emzampi
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi »

excuse here is the attachment
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi »

still excuse definitely want to know the operating system is win10
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by andyglezl »

EduardoLuis wrote:Hi Mol and Andyglez:

Please check my app Miniwriter (folder Samples\Applications\, and test it; it contains lots of control Label to simulate controls buttons and tabs, and works fine.- Perhaps issue appears on some SO.- I've tested on Win XPSP3, Win 7 and 8.-
With regards.
Eduardo
Hola Eduardo
Los LABEL que utilizas tienen la propiedad TRANSPARENT ?
Lo único que noté es que la "punta" del ToolTip borra una
parte al momento de desaparecer. ( WIN7 )
----------------------------------------------------------------------------
Hello Eduardo
You use the LABEL are TRANSPARENT property?
The only thing missing is that the "tip" of the "ToolTip" delete a
part when disappear. ( WIN7 )
Miniwriter.jpg
Miniwriter.jpg (328.27 KiB) Viewed 5576 times
Andrés González López
Desde Guadalajara, Jalisco. México.
Post Reply