- Code: Select all Expand view RUN
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 PIXELS
I am unable to resize the columns. Should I be using TWBROWSE class? Is it better?