Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to enable just one row on grid
Message
De
10/11/2000 02:13:46
 
 
À
05/11/2000 15:58:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00438157
Message ID:
00440065
Vues:
16
>How to enable just one row on grid?

Something like:
if mdown() &&We clicked somewhere
	lnNewRow = 0
	this.GridHitTest(mcol(), mrow(), '', @lnNewRow)
	if lnNewRow <> this.relativerow
		*** We are moving rows!
		nodefault
	else
		*** We are moving columns!
	endif
else
	if inlist(lastkey(), 18, 3, 5, 24)
		*** We are moving rows!
		nodefault
	else
		*** We are moving columns!
	endif
endif
Of course VFP7 makes this easier with RowColChange.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform