In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TBtnBmp problem

Xailer professional forum in English
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

TBtnBmp problem

Mensaje por Giuseppe Bogetti »

Hi,
a little problem with TBtnBmp with lMultiline set to .T.
If I define the button caption in the IDE everything works OK.
(see image BtnBmp1 )
If I define the same button caption in code using :cText property
and LT( ... ) function the wrapping is not done.
(see image BtnBmp2 )
If I define the button caption using r to separate words the button is
displayed correctly as in image BtnBmp1.
Is this the intended behaviour ?
Do I have to code the r myself when I need multiline text in buttons and I
use LT( ... ) function ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
--
Responder