Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference between a functionkey and a pushbutton
Message
 
À
07/07/2000 03:52:12
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00389333
Message ID:
00389378
Vues:
16
>On my form everything is disabled and it holds a datagrid, keypreview is true.
>When I press a functionkey the datagrid has to be enabled, the current row has to be highlighted and when I press the down arrow key I have to scroll in the grid.
>This code written under the functionkey doesn’t work, when I put the same code under a pushbutton it works.
>Code:
>With dgdgrid
>.Enabled = True
>.MarqueeStyle = 3
>.SetFocus
>End With
>
>Can someone please tell me why it doesn’t work under a functionkey and what the solution is?

What do you mean by "functionkey"? Is it F1 and the rest? Where do you place it to it isn't working? I suppose that you have placed it in the Form_KeyDown event!

Show more code!!!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform