Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete mark w/o delete
Message
From
01/10/1997 14:58:05
 
 
To
01/10/1997 13:21:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052659
Message ID:
00052717
Views:
41
>>>>>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

Base grid is not yours, it's MS property. However, you can do it for your grid class, if you have one.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform