Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a problem with a grid. I only want the user to be able to click on one column of the grid, but see 3 columns. As it is now, I have 2 columns disabled, and the controls in those columns, and vice versa for the other column. Even when I disable the column, the use can still click on that column and take focus away from the one I want them to be on. Any ideas how I can do this? TIA
In the "when" event of the controls in the other columns, you could set the focus back to the first column. You could also use the "gotfocus" event, but this doesn't fire until the control actually gets the focus.
Précédent
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