Search found 56 matches: bpainttext

Return to advanced search

Re: more than 1 bmp on a xbrowse column

... but also very useful. I have seen it on grids where tags (like stack overflow tags) are shown. Yes, it would help to see sample code using oCol:bPaintText to paint various bmps based on conditions. Thank you, Reinaldo.
by reinaldocrespo
Thu Mar 23, 2023 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: more than 1 bmp on a xbrowse column
Replies: 6
Views: 476

Re: more than 1 bmp on a xbrowse column

Second way is to use
1. bBmpData (left or right align)
2. bStrImage (any position)
3. Text any position

Lastly, paint the column on our own using either oBrw:bPaintRow or oCol:bPaintText
I will provide a sample if required
by nageswaragunupudi
Wed Mar 22, 2023 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: more than 1 bmp on a xbrowse column
Replies: 6
Views: 476

Re: How to fill a xBrowse-cell with a real image-BRUSH ?

... very hard to handle http://www.service-fivewin.de/images/Xbrbrush2.jpg the images on the lefthandside I display using :aCols[ I ]:bPaintText := { | ..... and GDI-functions that was the reason thinking about ::hBrush = GdiPlusNewTextureBrush( oGdiBmp:hbmp ) :!: like using for the ...
by ukoenig
Thu Jul 15, 2021 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill a xBrowse-cell with a real image-BRUSH ?
Replies: 4
Views: 675

Re: To Mister Nages - xBrowser

... oFonte_browse :nDataStrAlign := AL_TOP :blDClickData := { || HTMLPOP( GetActiveWindow(), nil, 0x000E, RTrim( oMensagem:getValueByPos( 13 ) ) ) } :bPaintText := <|oCol, hDC, cText, aRect, aColors| FW_SayTextHilite( hDC, cText, aRect, oFonte_Browse, aColors[ 1 ], aColors[ 2 ], ; aHilite, oCol ...
by oliveiros junior
Mon Aug 17, 2020 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mister Nages - xBrowser
Replies: 21
Views: 2262

Re: To Mister Nages - xBrowser

Thank you mister nages, 1) how would this refresh occur? WITH OBJECT :aCols[ 3 ] :bPaintText := <|oCol, hDC, cText, aRect, aColors| FW_SayTextHilite( hDC, cText, aRect, oFonte_Browse, aColors[ 1 ], aColors[ 2 ], ; { aHilite } ) Return NIL > END There are two ...
by oliveiros junior
Sat Aug 15, 2020 1:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mister Nages - xBrowser
Replies: 21
Views: 2262

Resaltado de un registro en un xBrowse

... solo las dos líneas de separación horizontales y las dos de los extremos verticales a lo largo de todo el registro. Lo he intentado con :bPaintText pero no lo consigo. Agradecería que me echaran una mano. Gracias.
by Verhoven
Wed Jun 05, 2019 1:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resaltado de un registro en un xBrowse
Replies: 8
Views: 1130

Re: XBROWSE Border on cells

... is needed : COL_RECT( oBrw, hDC, 2, 255, 3, .F. ) // column-number, pencolor, pensize, lData It is done using GDIPLUS, doesn't use < oCol:bPaintText > If lData = .T. the border starts and ends with the data-area, header and footer are not included. You can adjust the top and bottom-line ...
by ukoenig
Thu Apr 11, 2019 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4121

Re: XBROWSE Border on cells

Günther, still a solution needed :?: You need to use oCol:bPaintText and paint the text and border of the cells the way you want. A border around each cell or only around the column :?: ( uses different colours as well on age ranges ) http://www.pflegeplus.com/IMAGES/Cellborder1.jpg ...
by ukoenig
Thu Apr 11, 2019 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4121

Re: XBrowse - adding cellimages from DBF or array

... ] // :bStrImage := { || c_path1 + ALLTRIM(oCust:Image) } // :nDataStrAlign := AL_CENTER + AL_BOTTOM // :nDataBmpAlign := AL_CENTER // My solution :bPaintText := { | oCol, hDC, cData, aRect | ; DRAWCELL( c_path1,oCol, hDC, cData, aRect ) } // extra function END regards Uwe :roll:
by ukoenig
Wed Mar 13, 2019 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse - adding cellimages from DBF or array
Replies: 2
Views: 727

Re: XBROWSE Border on cells

You need to use oCol:bPaintText and paint the text and border of the cells the way you want.
by nageswaragunupudi
Mon Jul 16, 2018 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4121

Re: stars on xbrowse

... "c:\work\fwh\bitmaps\fdem9.bmp" } ) :nWidths := 150 :nRowHeight := 50 * :lAllowSizings := .f. :bPaintTexts := { |oCol,hDC,cData,aRect| ShowRating( oCol, hDC, cData, aRect, oLarge ) } :aCols[ 1 ]:bPaintText := nil :aCols[ 2 ]:bPaintText := nil ...
by Silvio.Falconi
Thu Feb 16, 2017 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: stars on xbrowse
Replies: 16
Views: 6813

Re: ERRO FWH1509 + SQLRDD

cnavarro wrote:En el XBrowse tienes definido bPaintText?


Amigo cnavarro
não esta definido no xbrowse o bPaintText
by Sistem
Sun Oct 04, 2015 4:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERRO FWH1509 + SQLRDD
Replies: 4
Views: 705

Re: ERRO FWH1509 + SQLRDD

En el XBrowse tienes definido bPaintText?
by cnavarro
Sat Oct 03, 2015 7:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERRO FWH1509 + SQLRDD
Replies: 4
Views: 705

New FTDN July/Julio 2015 (FWH 15.07)

... Fix: btnbmp.prg: Minor bug in oWnd:SayText() in vertical centering multiline text is fixed. * Enhancement: xbrowse.prg: Added parameter lRowSel to bPaintText. When true it indicates painging of focused row.
by Antonio Linares
Wed Aug 12, 2015 7:02 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2015 (FWH 15.07)
Replies: 0
Views: 1033

Re: rao - xbrowse with nMarqueeStyle 7

If you are not using a very old version of FWH. it is not necessary to use oCol:bPaintText for display of Win7bars. It is enough if you specify the MarqueeStyle. bPaintText was recommended before we included painting of win7bars within xbrowse. Please try removing ...
by nageswaragunupudi
Thu Nov 20, 2014 4:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rao - xbrowse with nMarqueeStyle 7
Replies: 1
Views: 349
Next

Return to advanced search