Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deletemark property
Message
From
26/10/1999 09:14:41
 
 
To
25/10/1999 16:27:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00281184
Message ID:
00281460
Views:
15
>Hi James,
>
>>Is it possible to increase the size of the deletemark column in a grid, programatically?
>
>Dunno. But you could a checkbox column bound to deleted() and change the sizes of that programatically (I've never tested this, just giving ideas)
>
>You'll probably need to put a DELETE or RECALL accrodingly in the interactivechange()

I find the delete mark to be very difficult for the user to understand, it is difficult to click in and not the slightest bit intuitive. I grabbed an idea posted here on the subject, set the delete mark to false, add two command buttons to the grid column, make the picture on one a recycle bin ( like the one on the win desktop ) make the other have a picture of a trash bin. In the init of the grid stick something like...This.ColDeletes.DynamicCurrentControl = "IIF(deleted('tablealias'),'cmdDelRec1','cmdDelBut1')"

This works really well, and gives the user a grid that looks and feels very much in line with other windoze programs. It can be make part of your grid class with little work.

bob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform