Page 1 of 1

ENDELLIPSES at LABELS

Posted: Tue Jan 06, 2015 4:31 pm
by Pablo César
Probably I'm wrong, but I do not see how it works this property: ENDELLIPSES
Screen1.png
Screen1.png (78.99 KiB) Viewed 3756 times
I tested on XP and Win7 (Classic style) and nothing... :(

HMG IDE does not generate this property neither when create labels.

So in this case, why is our source code and hmgdoc ?

Re: Corrections at HMG Reference (hmgdoc)

Posted: Tue Jan 06, 2015 5:19 pm
by srvet_claudio
Pablo César wrote:Probably I'm wrong, but I do not see how it works this property: ENDELLIPSES
Screen1.png
I tested on XP and Win7 (Classic style) and nothing... :(

HMG IDE does not generate this property neither when create labels.

So in this case, why is our source code and hmgdoc ?
Pablo,
see SS_WORDELLIPSIS style in: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

ENDELLIPSES at LABELS

Posted: Tue Jan 06, 2015 5:39 pm
by Pablo César
You're right Claudio.

I had already read this article, but did noted the difference.

Here it's with ENDELLIPSES=.T. :
Screen1.png
Screen1.png (1.04 KiB) Viewed 3739 times
And here with ENDELLIPSES=.F. :
Screen2.png
Screen2.png (1.09 KiB) Viewed 3739 times
Thank you for your response. This is very useful when we have a fullpath and is not visible completly in LABELs.

Would it be posible to have it this in TEXTBOXes too ?

I move these messages here just to take this as guidance and not make confusions at HMGDOC bugs.

Re: ENDELLIPSES at LABELS

Posted: Tue Jan 06, 2015 8:27 pm
by Mario Mansilla
Hola Pablo :
tambien tenemos la propiedad BORDER que no esta documentada , ni tampoco la incluye el IDE , yo laa edito en el fmg .
Edita un fmg con Label y coloca BORDER .T.

Saludos
Mario Mansilla

Re: ENDELLIPSES at LABELS

Posted: Tue Jan 06, 2015 9:10 pm
by srvet_claudio
Pablo César wrote: Would it be posible to have it this in TEXTBOXes too ?
Unfortunately I think it is not possible.

ENDELLIPSES at LABELS

Posted: Wed Jan 07, 2015 1:08 am
by Pablo César
Mario Mansilla wrote:tambien tenemos la propiedad BORDER que no esta documentada , ni tampoco la incluye el IDE
Hola Mario, gracias por tu esclarecimiento. Vos sabés que estaba intentando modificar justamente esa propiedad que le habia visto al _DefineLabel() y me habia encerrado en algo tan simples. Eso porque en el #xcommand @ <row>,<col> LABEL es mencionado en i_label.ch pero no encontré para los DEFINE LABEL.

Estaba intentando con:
HMG_ChangeWindowStyle (GetControlHandle ("Label_11", "Form_1"), WS_BORDER, NIL, .T.)

Pero no me funcionó. Enfin, gracias a tu esclarecimiento logré colocarlo.
Screen2.png
Screen2.png (1004 Bytes) Viewed 3686 times
Tambien existe la propiedad ClientEdge que no está documentada ni disponible en el IDE. :(
Screen1.png
Screen1.png (1.27 KiB) Viewed 3686 times
Logré hace esto con:

HMG_ChangeWindowStyle (GetControlHandle ("Label_10", "Form_1"), WS_EX_CLIENTEDGE, NIL, .T.)

Tambien se puede usar asi:

SET CONTROL <ControlName> OF <FormName> CLIENTEDGE

Un grande abrazo,