I am using TCBROWSE as follows:
I am unable to resize the columns. Should I be using TWBROWSE class? Is it better?
REDEFINE COLUMN BROWSE oListBox ID 40 OF oDlg_Search UPDATE ON DblClick ( lResult := .T., oDlg_Search:End() )
oListBox:lLogicDrop := .T.
oListBox:lMChange := .F.
oListBox:nFreeze := 2
oListBox:hBmpCursor := LoadBitmap( GetResources(), "Finger" )
oListBox:cAlias = cAlias
ADD COLUMN TO BROWSE oListBox DATA RECNO() SIZE 30 NOBAR CENTER HEADER "Rec"
ADD TO BROWSE oListBox DATA COMPANY HEADER "Company" OEM ALIGN LEFT WIDTH 100 PIXELS
ADD TO BROWSE oListBox DATA SURNAME HEADER "Contact" OEM ALIGN LEFT WIDTH 100 PIXELS
ADD TO BROWSE oListBox DATA TEL1 HEADER "Tel" OEM ALIGN LEFT WIDTH 100 PIXELSI am unable to resize the columns. Should I be using TWBROWSE class? Is it better?
Many thanks
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)