If xBrowse the cursor is positioned in a frame around the cell,
::nMarqueeStyle := MARQSTYLE_SOLIDCELL
it is possible to change the color and thickness of this frame ?
FWH 16.04
If xBrowse the cursor is positioned in a frame around the cell,
::nMarqueeStyle := MARQSTYLE_SOLIDCELL
it is possible to change the color and thickness of this frame ?
FWH 16.04
oBrw:nColorBox := <nYourColor>
or
oBrw:nColorBox := hPen
Thank, Mr. Rao !
And the thickness of the frame lines can be changed ?
Define a pen with the thickness, type and color you want and then assign
oBrw:nColorBox := hPen
You need to release the pen object yourself after closing the browse.
I use xbrowse with the cursor in the form of borders around the cell
hPenCreate(1,4, CLR_RED)
oBrw:nMarqueeStyle := MARQSTYLE_SOLIDCELL
oBrw:nColorBox:=hPen
Everything works fine
But if xBrowse flipping up and down arrows or mousewheel, the grid is painted in the color of the frame (In this case, red). If you click on any row xBowsa everything becomes normal
Please add this setting
oBrw:lTransparent := .t.
Yes, the effect of the staining grid disappears, but then xBrowse will take the color of the window on which it is located
Natter wrote:Yes, the effect of the staining grid disappears, but then xBrowse will take the color of the window on which it is located
DATA lFullPaint INIT .f. METHOD FullPaint() INLINE ( ::lTransparent .or. ::lMergeVert .or. ;
::nMarqueeStyle == MARQSTYLE_HIGHLWIN7 ) METHOD FullPaint() INLINE ( ::lTransparent .or. ::lMergeVert .or. ::lFullPaint .or. ;
::nMarqueeStyle == MARQSTYLE_HIGHLWIN7 )Thank You, Mr.Rao ! Everything works well