Hola, como hago para que el texto del Richedit no aparezca cortado.
Que se ajuste al tamaño de la pantalla
Saludos
Jorge
Richedit
Re: Richedit
hi,
"Normal" you have to add Style DT_WORDBREAK
but it seem that assign .T. to hScroll did the Job
"Normal" you have to add Style DT_WORDBREAK
but it seem that assign .T. to hScroll did the Job
greeting,
Jimmy
Jimmy
Re: Richedit
hi,
correction : do NOT use Option HSCROLL
i have test it using c:\fwh\samples\FWEXPLOR.PRG
HSCROLL mean : use Horizontal Scrollbar when need but than it will NOT "wrap" Text
remove HSCROLL mean : NO Scrollbar so it will "warp" Text
correction : do NOT use Option HSCROLL
i have test it using c:\fwh\samples\FWEXPLOR.PRG
Code: Select all | Expand
@ oWnd:oBar:nHeight, nWBrw RICHEDIT5 oRTF VAR cRTF OF oWnd ;
SIZE oWnd:nWidth - ( nWBrw + 18 ), oBrw:nHeight*1.82 PIXEL NOBORDER // HSCROLL
remove HSCROLL mean : NO Scrollbar so it will "warp" Text
greeting,
Jimmy
Jimmy
Re: Richedit
Perfecto, lo solucione con SIZE oWndr:nWidth, owndr:nHeight
Muchas gracias.
Saludos
Jorge
Muchas gracias.
Saludos
Jorge