Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to enable just one row on grid
Message
From
10/11/2000 02:13:46
 
 
To
05/11/2000 15:58:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00438157
Message ID:
00440065
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform