CONTROL LABEL IN HMG 3.4

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

CONTROL LABEL IN HMG 3.4

Post by andyglezl » Fri Nov 20, 2015 10:02 pm

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 2316 times
Reloj.jpg
Reloj.jpg (45.87 KiB) Viewed 2316 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
pctoledo
Posts: 119
Joined: Wed Aug 25, 2010 10:45 am
Location: Araçatuba - SP - Brazil
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by pctoledo » Fri Nov 20, 2015 10:59 pm

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: 981
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by andyglezl » Sat Nov 21, 2015 1:05 am

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: 2030
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by srvet_claudio » Mon Nov 23, 2015 9:26 pm

I will ckeck.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
mol
Posts: 3039
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: CONTROL LABEL IN HMG 3.4

Post by mol » Mon Nov 23, 2015 9:36 pm

I've noticed the same problem ver. 3.4.0 all patches

EduardoLuis
Posts: 578
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: CONTROL LABEL IN HMG 3.4

Post by EduardoLuis » Mon Nov 23, 2015 9:51 pm

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: 79
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi » Mon Nov 23, 2015 10:03 pm

I tried several times to crush the keys and see what happens !!
greetings Emzampi

emzampi
Posts: 79
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi » Mon Nov 23, 2015 10:05 pm

excuse here is the attachment
Attachments
Registra_2015_11_23_23_01_14_523.rar
(1.74 MiB) Downloaded 151 times

emzampi
Posts: 79
Joined: Sun Aug 11, 2013 9:00 am

Re: CONTROL LABEL IN HMG 3.4

Post by emzampi » Mon Nov 23, 2015 10:07 pm

still excuse definitely want to know the operating system is win10

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

Re: CONTROL LABEL IN HMG 3.4

Post by andyglezl » Tue Nov 24, 2015 12:30 am

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 2199 times
Andrés González López
Desde Guadalajara, Jalisco. México.

Post Reply