Search found 20 matches: ndatastyle

Return to advanced search

... for example the color and the width. DrawTextEx( hDC, cData,; {nRow, nCol, nRow + nHeight, Min( nCol + nWidth, ::oBrw:BrwWidth() - 5 ) },; ::nDataStyle ) Thank you for your kind words about my WINHOTEL. Regards, Otto
by Otto
Tue Jun 03, 2008 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METER ON A WBROWSE LISTBOX
Replies: 8
Views: 2133

... 1 ] ) SetBkColor( hDC, aColors[ 2 ] ) DrawTextEx( hDC, cData,; {nRow, nCol, nRow + nHeight, Min( nCol + nWidth, ::oBrw:BrwWidth() - 5 ) },; ::nDataStyle ) oFont:Deactivate( hDC ) ENDIF endif
by Otto
Sat Feb 02, 2008 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser + RTF
Replies: 13
Views: 4342

Otto,

Try it this way:

oCol = oBrw:aCols[ o:nPos ]
oCol:nDataStrAlign := AL_RIGHT
oCol:nDataStyle := oCol:DefStyle( oCol:nDataStrAlign, ( oCol:oBrw:nDataLines == 1 ) )
by Antonio Linares
Mon Dec 17, 2007 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser: Is it possible to change alignment on the fly?
Replies: 12
Views: 2575

Share add on xbrowse setmysql(),ntotal(),auto mutilines

... data METHOD PaintData( nRow, nCol, nHeight, lHighLite, lSelected, nOrder ) CLASS TXBrwColumn ... SetBkColor( hDC, aColors[ 2 ] ) // add the line ::nDataStyle := ::DefStyle( ::nDataStrAlign, (::obrw:dataheight()/::DataHeight()<2 ) ) DrawTextEx( hDC, cData,; ... :) Shuming Wang
by ShumingWang
Mon Dec 03, 2007 1:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Share add on xbrowse setmysql(),ntotal(),auto mutilines
Replies: 1
Views: 786

... iif( _FIELD->Married, 1, 2) } oCol:bStrData := { || iif( _FIELD->Married, "Yes", "No ")} oCol:bEditValue := { || _FIELD->Married } oCol:nDataStyle := oCol:DefStyle( AL_RIGHT, .T.) oCol:nEditType := EDIT_LISTBOX oCol:aEditListTxt := { "Yes", "No"} oCol:aEditListBound := { .t., .f. } oCol:bOnPostEdit ...
by Otto
Mon Nov 12, 2007 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser: How to repaint the header
Replies: 12
Views: 2647
Previous

Return to advanced search