Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BeforeRowColChange > BeforeRowChange
Message
De
25/03/2003 09:47:28
 
 
À
25/03/2003 08:35:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00769653
Message ID:
00769696
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Olá grande amigo

eu já fiz essa pergunta , e obtive resposta do Cetin . funciona bem .
se não entenderes explico melhor
** COLOCA este código no BeforeRowColChange

*BRCC
lparameters nColIndex
*code to check what's changing
if lColChanging
   nodefault
endif



*code to check what's changing
lparameters nColIndex
Local llChangingRow,lnTop,lnBottom,lnMouseRowPos,lnMouseColPos
llChangingRow = .f.
With this
  If mdown()
	lnBottom	= .top+.headerheight+.relativerow * .rowheight
	lnTop		= lnBottom - this.rowheight
	lnMouseRowPos	= mrow(wontop(),3)
	lnMouseColPos	= mcol(wontop(),3)
	llChangingRow	= !(between(lnMouseRowPos,lnTop, lnBottom) ;
		and between(lnMouseColPos,.left,.left+.width))
	Else
		llChangingRow	= inlist(lastkey(),24,5,18,3,145,148)
	Endif
	If llChangingRow
*..
Um abraço


Pedro Silva

world is wonderful with your help .

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform