FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A Problem w. autofocus and marquestyle_highlight_cell ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
A Problem w. autofocus and marquestyle_highlight_cell ?
Posted: Wed Apr 17, 2019 06: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





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.



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.

Continue the discussion