xBrowse and Windows Vista ( Question )

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

xBrowse and Windows Vista ( Question )

Post by ukoenig »

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

Image

Code: Select all

// 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 :lol: [/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.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Hello Uwe,

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

oBrw:bClrSel := {|| { RGB(173,183,48),RGB(250,247,107) } }
Regards,
Otto
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Focus in Xbrowse with Vista

Post by ukoenig »

Hello Otto,

thank you very much.
The problem is solved.

Image

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.
Post Reply