XBROWSE RESIZE colum problem

XBROWSE RESIZE colum problem

Postby avista » Mon Jun 18, 2012 7:21 am

Hi all
Please how to resize comumn in xbrowse if the column size is the same or large than xbrowse width
so it is visible only that column in that moment.
Best regards,
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia

Re: XBROWSE RESIZE colum problem

Postby ukoenig » Mon Jun 18, 2012 12:08 pm

You can adjust Columns to any size You like
This sample would adjust all Columns to width 30

aeval( oBrw:aCols, { |oCols| oCols:nWidth := 30 } )

or a defined Col :

oBrw:aCols[ 1 ]:addbmpfile( "..\bitmaps\16x16\adddbf.bmp" )
oBrw:aCols[ 1 ]:lBtnTransparent := .t.
oBrw:aCols[ 1 ]:nBtnBmp := 1
oBrw:aCols[ 1 ]:nWidth := 30

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: XBROWSE RESIZE colum problem

Postby avista » Wed Jun 20, 2012 7:50 am

Hi
And thanks for reply.
That is not my problem.
XBROWSE is created with data received from SQL SELECT statement, so i dont know the columns or their sizes.
if some column size is the same or large than xbrowse width, user CANT catch right corner of the column and drag it to the left to make smaller size of the column becouse right corner of the column is not visible

Best regards,
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests