Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete mark w/o delete
Message
De
01/10/1997 13:21:35
 
 
À
01/10/1997 12:01:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00052659
Message ID:
00052700
Vues:
43
>>>>I want to be able to show the delete mark in a grid so the user can see which records are deleted and which ones are not. But I do not want the user to be able to delete records (basically have a read-only delete mark). Is there anyway I can do this?
>>>
>>>You can still use DeleteMark=.F., but add one more column with appropriate control (checkbox?) indicating Deleted status of record.
>>
>>
>>Thanks for your quick reply. This will work but I think it will take alot of work because of one requirement. I only want to show the delete mark when SET DELETED is OFF, so I have to set it at run-time. I suppose I could create the column at run-time. Any other thoughts would be appreciated.
>>
>>GeneS
>
>A lot of work? You create the column in design-time (if you don't like to do it programmatically), and just reset Column.Width from 0 (set deleted on) to something (set deleted off).

Is there a way to do this in my base grid, so that it would be generic enough to work in every grid of my application?
GeneS
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform