Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2000 Server
>I have a VFP8 form with a grid. I have just added a column to the grid with a command button that replaced text1.
>
>I have also placed code in the Click() of the command button to perform a task.
>
>However, the only way I can get the commandbutton Click() event to fire is to place the cursor on the button and press either Enter or Spacebar. The mouse click does not work. What would cause the mouse click not to work when a command button is in a column of a grid?
>
>Thanks,
>
>Jerry
The Enter and Spacebar access to the cell control is a VFP8 bug
( another bug exist, the button.Mousedown it is fired when you click on another row);
it is fixed on VFP9.1720.
Then, with AllowcellSelection = .F. the event model of the grid is flat, like a listbox.
Fabio
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