*********************************************************
If empty cells to export to Excel or fields with CRLF in Text (memo), this changes are required.
- Code: Select all Expand view
METHOD ClpRow( lFullRow ) CLASS TXBrowse
local nLast := Len( ::aCols )
local n, RetVal := ""
DEFAULT lFullRow := ( ::nMarqueeStyle >= 4 )
if lFullRow
for n := 1 to nLast
if ! ::aCols[ n ]:lHide
* if ! Empty( RetVal )
* RetVal += Chr( 9 )
* endif
RetVal += strtran(::aCols[ n ]:ClpText,CRLF," ; ") + Chr( 9 ) //changed byte-one
endif
next
else
RetVal := strtran(::SelectedCol():ClpText,CRLF," ; ")
endif
return RetVal
*********************************************************
CLASS TFolder FROM TControl
.
METHOD SetPrompts( aPrompts , aHelps ) //add ", aHelps"
.
ENDCLASS
**********************************************************
TButton
METHOD New()
nHelpId := 100 //should NOT! be defined
**********************************************************
TControl
DATA nHelpPosX //both datas are to erase! (is from an older code for HTML-Help)
DATA nHelpPosY
********************************************************
TPrinter
METHOD Say()
ExtTextOut( ::hDCOut, nRow, nTemp,;
{ nRow, nCol, nRow+oFont:nHeight*1.5, nCol+nWidth },; //add "*1.5" to show also the part of the letter under the groundline z.B. "g"
cText, ETO_CLIPPED )
*********************************************************
TWindow
METHOD __HelpTopic() CLASS TWindow
if ::oWnd != nil ;
.and. Upper( ::oWnd:ClassName() ) != "TFOLDER" ;
.and. Upper( ::oWnd:ClassName() ) != "TPAGES" ;
.and. Upper( ::oWnd:ClassName() ) != "TDIALOG" ;
.and. Upper( ::oWnd:ClassName() ) != "TWINDOW" //add also this for Help-system
***********************************************************