Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing deleted records in grid
Message
 
À
21/05/1999 02:10:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00220886
Message ID:
00221399
Vues:
14
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform