I would like to maximized my browse when I click maximized on my dialog but dialog maximized and browse not...
- Code: Select all Expand view
DEFINE DIALOG oDlg2 RESOURCE "SQL" FONT oFont
REDEFINE XBROWSE oBrw ALIAS "ESPCAT" ;
COLUMNS "CDFOR" COLSIZES 70 HEADERS "CODICE" ID 200 OF oDlg2
ADD oCol TO oBrw AT 2 DATA espcat->CDPAR TITLE "ARTICOLO" SIZE 100 LEFT
ADD oCol TO oBrw AT 3 DATA espcat->DEPAR TITLE "DESCRIZIONE" SIZE 300 LEFT
ADD oCol TO oBrw AT 4 DATA espcat->UNMIS TITLE "UM" SIZE 25 LEFT
WITH OBJECT oBrw
:nMarqueeStyle := MARQSTYLE_HIGHLROW
:nColDividerStyle := LINESTYLE_BLACK
:nRowDividerStyle := LINESTYLE_BLACK
:lColDividerComplete := .T.
:lRecordSelector := .F.
:lHScroll := .T.
:lVScroll := .T.
:lExcelCellWise := .t.
END
REDEFINE BTNBMP BtnEsc ID 11 OF oDlg2 ;
ACTION (oDlg2:End())
REDEFINE BTNBMP BtnEsc ID 12 OF oDlg2 RESOURCE "EXCEL" ;
ACTION (oBrw:ToExcel())
ACTIVATE dialog oDlg2 CENTERED
I created my dialog by Pelles C with class name TXBROWSE and in Custom control properties "resizable dialog" I put VERT RESIZING "RESIZING and HORZ RESIZING "RESIZING"
any help?
thank you
ciao
Damiano