Page 1 of 2

CONTROL LABEL IN HMG 3.4

Posted: Fri Nov 20, 2015 10:02 pm
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 3777 times
Reloj.jpg
Reloj.jpg (45.87 KiB) Viewed 3777 times

Re: CONTROL LABEL IN HMG 3.4

Posted: Fri Nov 20, 2015 10:59 pm
by pctoledo
you can do the following:

Code: Select all

Form_1.Label_1.Value:=Time()
Form_1.Label_1.REDRAW

Re: CONTROL LABEL IN HMG 3.4

Posted: Sat Nov 21, 2015 1:05 am
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

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 9:26 pm
by srvet_claudio
I will ckeck.

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 9:36 pm
by mol
I've noticed the same problem ver. 3.4.0 all patches

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 9:51 pm
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

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 10:03 pm
by emzampi
I tried several times to crush the keys and see what happens !!
greetings Emzampi

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 10:05 pm
by emzampi
excuse here is the attachment

Re: CONTROL LABEL IN HMG 3.4

Posted: Mon Nov 23, 2015 10:07 pm
by emzampi
still excuse definitely want to know the operating system is win10

Re: CONTROL LABEL IN HMG 3.4

Posted: Tue Nov 24, 2015 12:30 am
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 3661 times