Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement