oPrn:cmSay()

oPrn:cmSay()

Postby Ruben Fernandez » Mon Mar 05, 2007 12:02 am

Amigos:

Tengo 2 variables= Space(30)
xTit1 :=space(30)
xTit2 :=Space(30)

Al ingresar al programa tomas de una BD
xTit1 := TITULO->TITULO1 // los campos tiene el mismo valor 30 Chr.
xTit2 := TITULO->TITULO2


oPrn:cmSay(cmt,7 , xtit1,OF1, , , , 2)
cmt +=0.5
oPrn:cmSay(cmt,7 , xtit2 ,OF1, , , , 2)

Se supone que el 2 hace que se centren estos 2 títulos, pero no.

Agradezco alguna ayuda.

Muchas gracias.

Ruben Fernamdez.
Ruben Fernandez
 
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Postby Ruben Fernandez » Mon Mar 05, 2007 4:05 am

Ya lo resolví

PadC(rtrim(ltrim(xTit1)),30," ")

Saludos

Ruben Fernandez.
Ruben Fernandez
 
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 45 guests