Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BeforeRowChange Event
Message
From
09/04/2002 06:28:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/04/2002 06:17:01
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00642529
Message ID:
00642544
Views:
19
This message has been marked as the solution to the initial question of the thread.
>Thank you very much .
>
>But , can you , Cetin , teach me , how can i make code to check what's changing ?
>
>Thank you .
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
*..
PS: VFP6 and later has GridHitTest to determine where mouse is.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform