XBrowse Align Problem

XBrowse Align Problem

Postby MGA » Mon Sep 30, 2013 4:36 pm

c:\fwh\samples\testxbrw.prg



STATIC FUNCTION ArrayDBF( oWnd )
...

OK:
@ 0, 0 XBROWSE oBrw ;
HEADERS "Name", "Type", "Len", "Dec", "Ext" ;
JUSTIFY .F., AL_CENTER, .T., .T., .T. ;
COLSIZES 80 ;
ARRAY aStruc AUTOCOLS

PROBLEM:

@ 0, 0 XBROWSE oBrw ;
ARRAY aStruc AUTOCOLS

oBrw:aCols[2]:cHeader := 'Type'
oBrw:aCols[2]:nDataStrAlign := AL_CENTER <-----NO CENTER

...
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: XBrowse Align Problem

Postby MGA » Tue Oct 01, 2013 11:02 am

UP!
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: XBrowse Align Problem

Postby nageswaragunupudi » Wed Oct 02, 2013 4:15 am

This is the code:
Code: Select all  Expand view
  USE CUSTOMER
   XBROWSER DBSTRUCT() SETUP ( oBrw:aCols[ 2 ]:nDataStrAlign := AL_CENTER, oBrw:aCols[ 2 ]:nWidth := 80 )
 

Result
Image

From this you can see that AL_CENTER is working.
Regards

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests