Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid with command button column
Message
De
17/11/2004 13:14:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
17/11/2004 12:13:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00962258
Message ID:
00962306
Vues:
9
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
Fil
Voir

Click here to load this message in the networking platform