ENDELLIPSES at LABELS

Moderator: Rathinagiri

Post Reply
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

ENDELLIPSES at LABELS

Post 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 2386 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 ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
srvet_claudio
Posts: 2113
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 48 times
Been thanked: 224 times
Contact:

Post 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
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 »

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 2369 times
And here with ENDELLIPSES=.F. :
Screen2.png
Screen2.png (1.09 KiB) Viewed 2369 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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Mario Mansilla
Posts: 263
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina
Been thanked: 3 times

Post 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
Attachments
Label.JPG
Label.JPG (12.18 KiB) Viewed 2345 times

User avatar
srvet_claudio
Posts: 2113
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 48 times
Been thanked: 224 times
Contact:

Post 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.
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 »

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 2316 times
Tambien existe la propiedad ClientEdge que no está documentada ni disponible en el IDE. :(
Screen1.png
Screen1.png (1.27 KiB) Viewed 2316 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,
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Post Reply