Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deletemark property
Message
De
26/10/1999 09:14:41
 
 
À
25/10/1999 16:27:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00281184
Message ID:
00281460
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform