Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBrw
USE TEST
DEFINE DIALOG oDlg
@ 0, 0 LISTBOX oBrw FIELDS
oBrw:lCellStyle = .T.
oBrw:nClrPane := { || CLR_HGREEN }
ACTIVATE DIALOG oDlg;
ON INIT oDlg:SetControl( oBrw );
CENTER
CLOSE
RETURN NIL