Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid KeyPress Event send to active cell
Message
De
05/05/2006 19:18:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01119807
Message ID:
01119815
Vues:
18
>Is there a way to send keypress keys to the underlying grid record?
>i.e. If a user were to press a CTRL-D combination for example, this could mean display a screen for a user to pick a value from...
>
>This would need to be at the grid level as in the base class no columns have been defined. I have a routine that when the grid initializes, the columns are created, control sources are set etc. To do the above, I think I would want to do it at the grid level. my grid base class has a method called buildgrid which is where I put the setup code as described above. I have a second method that called setgrid which serts up column widths etc.
>
>I hope this explains what i am trying to do.
>
>Mike

Mike,
There are several solutions to the problem. One of them is form.keypreview = .t.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform