Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2000 Server
I just figured it out. I have AllowCellSelection = .f. If I set it to .t., then I can mouse click the command button. However, setting this to .t. takes away my grid row highlight.
If anybody has a suggestion on placing a commandbutton in a grid column with a Click() event attached and have grid row highlighting turned on, I would appricate it.
Thanks,
Jerry
>Don't have V8, and have never put a button in a grid, but could it be anything to do with the Sparse property?
>
>>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
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