Search found 12 matches: brwwidth

Return to advanced search

Re: xbrowse Border

... vertical scrolling if ::lDrawBorder // ::Box( 0, 0, ::nHeight - 1, ::nWidth - 1, IfNil( ::nClrBorder, ::hColPen ) ) ::Box( 0, 0, ::nHeight - 1, ::BrwWidth(), IfNil( ::nClrBorder, ::hColPen ) ) endif https://i.postimg.cc/vHytyBsS/ok.png the same must be made in the presence of Horizontal ...
by Silvio.Falconi
Mon Nov 13, 2023 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse Border
Replies: 1
Views: 406

Re: How to change color of line in Header and Footer?

... just search inside samples for these functions DrawHorz ( hDC, ::nHeaderHeight - 3, 0, ::BrwWidth(), hPen ) DrawHorz( hDC, ::nHeaderHeight - 1, 0, ::BrwWidth(), hPen ) DrawVert ( hDC, 170, 2, ::nHeaderHeight - 1, hPen ) regards Uwe :D
by dutch
Wed Dec 23, 2020 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change color of line in Header and Footer? *Work Now*
Replies: 10
Views: 1384

Re: How to change color of line in Header and Footer?

... just search inside samples for these functions DrawHorz ( hDC, ::nHeaderHeight - 3, 0, ::BrwWidth(), hPen ) DrawHorz( hDC, ::nHeaderHeight - 1, 0, ::BrwWidth(), hPen ) DrawVert ( hDC, 170, 2, ::nHeaderHeight - 1, hPen ) regards Uwe :D
by ukoenig
Tue Dec 22, 2020 11:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change color of line in Header and Footer? *Work Now*
Replies: 10
Views: 1384

Re: Problem with EDIT_GET_LISTBOX: ADDITIONAL WORK REQUIRED

Mr. Rao, my impression is, that this point are not done!?
2. To limit the listbox on small browses.
nWidth := min(nWidth,::oBrw:BrwWidth()) //BYTE-ONE
by byte-one
Tue Apr 26, 2016 11:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with EDIT_GET_LISTBOX: ADDITIONAL WORK REQUIRED
Replies: 6
Views: 1275

Re: XBrowse with full grid

... nRowPos <= nMaxRows hBrush := CreateSolidBrush( Eval( ::bClreof, Self,nrowpos )[ 2 ] ) FillRect( hDC, {nRow, acols[1]-1, nrow+::DataHeight+1, nBrwWidth }, hBrush ) DeleteObject( hBrush ) nRowPos++ nRow += nRowHeight enddo //--------- /* Paint lines */ do case case nColStyle == LINESTYLE_NOLINES ...
by ShumingWang
Fri May 17, 2013 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse with full grid (Solved)
Replies: 14
Views: 5298

Re: resize a column to multiline in xbrowse

Please change
::BrwWidth()
as
oBrw:BrwWidth()
by nageswaragunupudi
Wed May 25, 2011 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: resize a column to multiline in xbrowse
Replies: 23
Views: 8179

TXBrowse changes

... cell starting. 2) in method "PaintData" instead of string FillRect( hDC, {nTop, nRectCol, nBottom, Min( nRectCol + nRectWidth, ::oBrw:BrwWidth() - 4 ) }, hBrush ) I put: if valtype(acolors[2])<>'B' FillRect( hDC, {nTop, nRectCol, nBottom, Min( nRectCol + nRectWidth, ::oBrw:BrwWidth() ...
by Loach
Tue Apr 14, 2009 7:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrowse changes
Replies: 0
Views: 281

thank a lot... little detail
the idea is good... i happy it work for you.... i did burn my brain :wink:

change too...
hBmpNew := CreateCompatibleBitMap( ::hDC, ::BrwWidth(), ::BrwHeight() )
BitBlt( hDCComp, 0, 0, ::BrwWidth(),::BrwHeight(), ::hDC, 0, 0, SRCCOPY )
by Daniel Garcia-Gil
Thu Dec 04, 2008 9:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse-background can be stretched ? => SOLVED
Replies: 17
Views: 5247

Stretch BMP to xBrowse Data-area

... I changed Your line : * PalBmpDraw( ::hDC, 0, 0, hBmp,, (::nRight - ::nLeft), ( ::nBottom - ::nTop ) ) in : PalBmpDraw( ::hDC, 0, 0, hBmp,, ::BrwWidth(), ::BrwHeight() ) That works perfect now ! If You change this, the BMP is adjusted to the xbrowse data-area. Regards Uwe :lol:
by ukoenig
Thu Dec 04, 2008 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse-background can be stretched ? => SOLVED
Replies: 17
Views: 5247

... hDC, aColors[ 1 ] ) SetBkColor( hDC, aColors[ 2 ] ) DrawTextEx( hDC, cLine ,; {nRow, nCol, nRow + oFont1:nHeight(), Min( nCol + nWidth, ::oBrw:BrwWidth() - 5 ) },; ::nDataStyle ) oFont1:Deactivate( hDC ) cLine = Alltrim(SubStr(cData, nFrom )) oFont:Activate( hDC ) SetTextColor( hDC, aColors[ ...
by Otto
Thu Jun 26, 2008 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different fonts in the same cell xbrowse
Replies: 5
Views: 1279

... ... There you could change 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: 2294

... Otto method paintdata ... if IsRTF( cdata ) ??? define a window without frame from {nRow, nCol, nRow + nHeight, Min( nCol + nWidth, ::oBrw:BrwWidth() - 5 ) } cRtf:= cdata oRTF := TRichEdit():New( nRow, 0, { | u | If( PCount()==0, cRTF, cRTF:= u ) },oWndTest ,,,, .F.,, .F., .F.,,,, .F., ...
by Otto
Sat Feb 02, 2008 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser + RTF
Replies: 13
Views: 4478

Return to advanced search

cron