FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE RESIZE colum problem
Posts: 301
Joined: Fri Jun 01, 2007 09:07 AM
XBROWSE RESIZE colum problem
Posted: Mon Jun 18, 2012 07: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,

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: XBROWSE RESIZE colum problem
Posted: 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 :-)
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.
Posts: 301
Joined: Fri Jun 01, 2007 09:07 AM
Re: XBROWSE RESIZE colum problem
Posted: Wed Jun 20, 2012 07: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,

Continue the discussion