FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour oPrn:cmSay()
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
oPrn:cmSay()
Posted: 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.

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
oPrn:cmSay()
Posted: Mon Mar 05, 2007 04:05 AM

Ya lo resolví

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

Saludos

Ruben Fernandez.

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82

Continue the discussion