Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid with command button column
Message
De
17/11/2004 14:22:25
 
 
À
17/11/2004 12:00:22
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
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:
00962335
Vues:
10
>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
Fil
Voir

Click here to load this message in the networking platform