Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
...how to tell if Grid row has changed.
Message
From
31/07/2000 12:03:07
 
 
To
27/07/2000 10:33:53
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397581
Message ID:
00398848
Views:
11
>My problem, is that I can't get the beforeRowColChange event to recognize ONLY the row changes, and ignore the column changes. The help file claims that the 'nColIndex' parameter:

You can put this in the BeforeRowColChange():
if mdown() *We clicked somewhere
	lnNewRow = 0
	this.GridHitTest(mcol(), mrow(), '', @lnNewRow)
	if lnNewRow <> this.relativerow
		*** We are moving rows!
	else
		*** We are moving columns!
	endif
else
	if inlist(lastkey(), 18, 3, 5, 24)
		*** We are moving rows!
	else
		*** We are moving columns!
	endif
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform