A Problem w. autofocus and marquestyle_highlight_cell ?

A Problem w. autofocus and marquestyle_highlight_cell ?

Postby ukoenig » Wed Apr 17, 2019 6:24 pm

I noticed a problem using xbrowse autofocus in combination with MARQSTYLE_HIGHLCELL

The following happens :

MARQSTYLE_HIGHLROW is working ( image 1 )

MARQSTYLE_HIGHLCELL is painting the focus color of ONE cell only, if moving VERTICAL to another row. ( image 2 )

oBrw:nMarqueeStyle := MARQSTYLE_HIGHLCELL
oBrw:lHoverSelect := .T. // autofocus YES / NO


Selecting another cell inside the same row, the focus color of the old cell ( lost focus ) is not deleted and still visible( image 3 )

I added control-fields on top of the browser to find a solution.
A selected column 2 still shows column 4 ( only if changing the column inside the sane row ) :!: :(

To get the col-pos I'm using :
nColPos := oBrw:SelectedCol():nCreationOrder

Image

Image

I still noticed another problem using < oBrw:nMarqueeStyle := MARQSTYLE_HIGHLCELL >
oBrw:lContrastClr := .F. must be defined ( seems to be .T. by default )
otherwise changing the focus, the textcolor in some cells is shown in white on a brushed xbrowse background like the screenshot shows. It works changing oBrw:lContrastClr to .F.

Image

regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests