Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Funny things About afterrowcolumnchange event
Message
De
08/06/2002 00:32:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Funny things About afterrowcolumnchange event
Divers
Thread ID:
00666261
Message ID:
00666261
Vues:
60
Hi, Folks,
I found a very funny things about the grid AfterRowColChange Event, I wanna check the row changed or column changed by fllowing code, but when the first wait not remed and the 2nd remed, the result is quite right, but when the first remed and the 2nd not, the things changed. Whatever I move in row direction or move in column direction the message always pop out. That's why?

Procedure Grid1.AfterRowColChange
LPARAMETERS nColIndex
LOCAL lsRow,lsCol,lsCol1
lsRow=ALLTRIM(STR(this.ActiveRow))
lsCol=ALLTRIM(STR(this.ActiveColumn))
lsCol1=ALLTRIM(STR(nColIndex))
*!*WAIT WINDOW "ROW:"+lsRow+"; Col:"+lsCol+"; Changed:"+lsCol1 NOWAIT
IF lsCol1=lsCol
WAIT WINDOW "OK" NOWAIT TIMEOUT 3000
ENDIF
DODEFAULT(nColIndex)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform