by amnunez » Wed Feb 02, 2011 4:01 am
Dear Sir James,
In resource editor,scrollbars in xbrowse (UDC) control are both enabled. Here's code in resource editor:
DLG_PRINTRPT DIALOGEX -2,-16,461,308
FONT 8,"MS Sans Serif",0,0,0
STYLE WS_POPUP|WS_VISIBLE|WS_CAPTION
BEGIN
CONTROL "",1601,"TXBROWSE",WS_CHILDWINDOW|WS_VISIBLE|WS_VSCROLL|WS_HSCROLL,7,6,447,262
And the code in FWH:
Select(0)
REDEFINE XBROWSE oBrwPrintRpt ID 1601 OF oDlgPrintRpt;
ALIAS 'PRINTRPT';
AUTOSORT UPDATE AUTOCOLS LINES CELL;
oBrwPrintRpt:lHScroll := .F.
//oBrwPrintRpt:createFromCode()
Sir James, i received an error when i used "oBrwPrintRpt:createFromCode()" saying "duplicate ID"
thank you very much...
regards,
apollo
FWH10.6|BCC5.82|PELLEC|XMATE