Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you skip between columns?
Message
De
04/05/2001 03:12:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00503237
Message ID:
00503366
Vues:
25
>I have a BROWSE window (yes I know how evil they are but it is an older system and it does have them). When the client tabs or clicks to say the third column and then presses the ADD button, the code adds a new row to the table. But the focus is still on the third column of the new row. How do I get the focus to the first column (or any specific column) of the new row?
>
>Brenda

Brenda,

the way I have moved around browses in the past was using recursion an the keyboard function...
Assuming the first column is called fred

On key label Ctrl+I Keyboard IIF(Varread() = "Fred", "", "{ctrl+I}")

then when you want to add a new record...
Append Blank
Keyboard "{Ctrl+I}"
Ctrl+I is just a key combination that I made up you can use anything (but try and find one that is not used) you are also best to reset it when finished.

I think it was something like that anyway <g>

HTH
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform