Alinear Renglon

Alinear Renglon

Postby VitalJavier » Sat Sep 07, 2024 7:25 pm

Saludos a todos
Alguien sabe como puedo alinear en un renglon en xBrowse
Que quede centrado.

Image

Si ven la imagen, esta alineado hacia arriba, lo que quiero es que quede centrado.

Saludos.
User avatar
VitalJavier
 
Posts: 241
Joined: Mon Jun 10, 2013 6:40 pm

Re: Alinear Renglon

Postby karinha » Sat Sep 07, 2024 8:20 pm

Intenta si:

Code: Select all  Expand view  RUN

   oBrw:aCols[7]:nDataStrAlign:=2  // columna 7
 


ó

Code: Select all  Expand view  RUN

   oBrw:aCols[nro_col]:nHeadStrAlign := 0, 1 ó 2
 


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7831
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Alinear Renglon

Postby nageswaragunupudi » Mon Sep 09, 2024 3:44 am

By default XBrowse always vertically centers the text.
Small sample to test:
Code: Select all  Expand view  RUN
XBROWSER "STATES.DBF" SETUP oBrw:nRowHeight := 100


Result:
Image

In your browse, the text is top aligned. That means you specified top-alignment somewhere in your program. Please recheck your program if you set any values to col:nDataStrAlign.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

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