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.

:Textout() with :nTextAlignment := taCENTER

Xailer professional forum in English
Responder
g.s.rogers
Mensajes: 202
Registrado: Dom Feb 17, 2008 3:35 am

:Textout() with :nTextAlignment := taCENTER

Mensaje por g.s.rogers »

I have been playing with this and can't see that the alignment makes any
difference. I get the same results with
:nTextAlignment := taLEFT
:TextOut(100,1000, "Greeting")
as with
:nTextAlignment := taCENTER
:TextOut(100,1000,"Greeting")
Thanks,
Gary S. Rogers
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

:Textout() with :nTextAlignment := taCENTER

Mensaje por ignacio »

Gary,
I guess you are talking about the TCanvas class. Please take a look to
third parameter on TextOut() method.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje de
noticias:[email=4b907332@svctag-j7w3v3j....]4b907332@svctag-j7w3v3j....[/email]
> I have been playing with this and can't see that the alignment makes any
> difference. I get the same results with
>
> :nTextAlignment := taLEFT
> :TextOut(100,1000, "Greeting")
>
> as with
>
> :nTextAlignment := taCENTER
> :TextOut(100,1000,"Greeting")
>
> Thanks,
> Gary S. Rogers
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

:Textout() with :nTextAlignment := taCENTER

Mensaje por ignacio »

Gary,
I guess you are talking about the TCanvas class. Please take a look to
third parameter on TextOut() method.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje de
noticias:[email=4b907332@svctag-j7w3v3j....]4b907332@svctag-j7w3v3j....[/email]
> I have been playing with this and can't see that the alignment makes any
> difference. I get the same results with
>
> :nTextAlignment := taLEFT
> :TextOut(100,1000, "Greeting")
>
> as with
>
> :nTextAlignment := taCENTER
> :TextOut(100,1000,"Greeting")
>
> Thanks,
> Gary S. Rogers
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder