Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable mouse event in grid
Message
From
30/03/2004 21:06:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to disable mouse event in grid
Miscellaneous
Thread ID:
00891058
Message ID:
00891058
Views:
53
i have this in mygrid1's init event,
this.nrecordnumber = recno()
this.setall("dynamicbackcolor", "iif(recno() = this.nrecordnumber, eval('rgb(' + substr(rgbscheme(15, 6), at(',', rgbscheme(15, 6), 3) + 1)), eval('rgb(' + substr(rgbscheme(15, 2), at(',', rgbscheme(15, 2), 3) + 1)))", "Column")
this.setall("dynamicforecolor", "iif(recno() = this.nrecordnumber, eval(left(rgbscheme(15, 6), at(',', rgbscheme(15, 6), 3) - 1) + ')'), eval(left(rgbscheme(15, 2), at(',', rgbscheme(15, 2), 3) - 1) + ')'))", "column")
this.setAll("dynamicfontbold", ".not. drs.tfnew", "column")
and in afterrowcolchange i have,
lparameters ncolindex
this.nrecordnumber = recno()
this.refresh
if i clicked on a cell using a mouse, the backcolor changes (white). how can i retain the backcolor whenever i click on a cell using the mouse? do i need to disable the mouse event? i'm using visual foxpro 6.0

pls help. TIA.
Next
Reply
Map
View

Click here to load this message in the networking platform