Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable mouse event in grid
Message
De
30/03/2004 21:06:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to disable mouse event in grid
Divers
Thread ID:
00891058
Message ID:
00891058
Vues:
52
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform