there is a problem in this little sample.
If I click in scrollbar in this point (plase see figure)
First two columns disappear and remains only the third one
How can I disable horizontal scroll bar?
Bye and many thanks
- Code: Select all Expand view
#include "Fivewin.ch"
#include "Tcbrowse.ch"
FUNCTION MAIN()
LOCAL oDlg, oBrw
LOCAL oCol
USE Customer ALIAS Test
DEFINE DIALOG oDlg SIZE 200 , 400
@ 0, 0 BROWSE oBrw
oCol := TcColumn():New( "First" , { || TEST->first } , , , , 0 , 60 , , , , , , , )
oBrw:addcolumn( oCol )
oCol := TcColumn():New( "Last" , { || TEST->last } , , , , 0 , 60 , , , , , , , )
oBrw:addcolumn( oCol )
oCol := TcColumn():New( "Age" , { || TEST->age } , , , , 2 , 60 , , , , , , , )
oBrw:addcolumn( oCol )
// oCol := TcColumn():New( "" , , , , , 0 , 10 , , , , , , , )
// oBrw:addcolumn( oCol )
oBrw:lCellStyle = .T.
ACTIVATE DIALOG oDlg;
ON INIT oDlg:SetControl( oBrw );
CENTER ;
VALID MsgYesNo( "Want to exit ?" )
CLOSE
RETURN NIL