Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing deleted records in grid
Message
 
To
21/05/1999 02:10:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00220886
Message ID:
00221399
Views:
16
>If you wouldn't ever use deletemark, how about getting those deleted into a cursor and displaying in a separate grid for selection when "Commit" pressed.

I found a neat solution yo avoid accidentaly clicking the deletino column/mark: just cover it with a transparent shape. The following code in grid.init does the trick:
this.parent.addobject(this.name + "cover","shape")
with eval("this.parent." + this.name + "cover")
	.top = this.top
	.width = 18
	.left = this.left
	.height = this.height
	.BackStyle = 0
	.BorderStyle = 0
	.visible = .t.
endwith
This leaves me with the problem of keeping on the grid the deleted records without resorting to DELETED ON.

well, can't win them all.
Previous
Reply
Map
View

Click here to load this message in the networking platform