FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse and Windows Vista ( Question )
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
xBrowse and Windows Vista ( Question )
Posted: Wed May 21, 2008 06:42 PM
Hello,

Because of a new computer, i'm working with
Windows Vista now.
I noticed a funny effect when changing the focus
between browsers in a dialog :
The rows in the other browsers, where the cursor has been before,
when i change the focus, are changing to black.
In windows 2000 it is ok.
I use nothing special



// Browser 1

oLbx1 := TXBrowse():New( oFld:aDialogs[1] )
oLbx1:nMarqueeStyle := MARQSTYLE_HIGHLROW
oLbx1:nColDividerStyle  := LINESTYLE_BLACK
oLbx1:nRowDividerStyle := LINESTYLE_BLACK

oLbx1:SetArray( aBRCOLOR1 )
oLbx1:aCols[ 1 ]:cHeader = Padr("No.", 3)
oLbx1:aCols[ 2 ]:cHeader = Padr("Start", 19)
oLbx1:lHScroll := .F.
oLbx1:lVScroll := .F.
oLbx1:lFooter := .F.
oLbx1:bLClicked := { | nRow, nCol | Bs_START := oLbx1:nRowSel, ;
Bs_COLOR1 := B_COLORS(Bs_START), oB_COLOR1:Refresh(), ;
oBMP3:Refresh(), oBMP4:Refresh(), oBMP5:Refresh(), oBMP6:Refresh(), ;
oBMP7:Refresh(), oBMP8:Refresh(), oBMP9:Refresh(), ;
oBMP10:Refresh(), oBMP11:Refresh(), oBMP12:Refresh(), ;
oBMP18:Refresh() }

oLbx1:aCols[ 2 ]:AddResource("Black")
oLbx1:aCols[ 2 ]:AddResource("White")
oLbx1:aCols[ 2 ]:AddResource("Blue")
oLbx1:aCols[ 2 ]:AddResource("Green")
oLbx1:aCols[ 2 ]:AddResource("Red")
oLbx1:aCols[ 2 ]:AddResource("Yellow")
oLbx1:aCols[ 2 ]:AddResource("Magenta")
oLbx1:aCols[ 2 ]:AddResource("Farbwahl")
oLbx1:aCols[ 2 ]:bBmpData := {|| oLbx1:nArrayAt }
oLbx1:aCols[ 2 ]:bStrData := {|| oLbx1:aRow[2] }   

oLbx1:CreateFromResource( 210 )


I notice this effect the first time.

Regards

Uwe :-) [/code]
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.
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
xBrowse and Windows Vista ( Question )
Posted: Wed May 21, 2008 08:27 PM

Hello Uwe,

I have the same problem.
As a workaround I use:

  oBrw:bClrSel        := {|| { RGB(173,183,48),RGB(250,247,107) } }

Regards,
Otto

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Focus in Xbrowse with Vista
Posted: Wed May 21, 2008 08:58 PM
Hello Otto,

thank you very much.
The problem is solved.



Best Regards

Uwe[/img]
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