Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Old Code (@ GET) - Determine focus and change display
Message
 
À
20/07/2007 14:28:22
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01242455
Message ID:
01242457
Vues:
23
>Using old @ GET stuff...
>
>Bunch of fields that make up a scheduling grid are displayed. Each has a VALID that runs some procedure if they are clicked. I need to be able to determine which one has the focus and also would like to change the focus display (very light line around the fields) to be something more pronounced. How would I do this? The fields/GETs are displayed via a loop, but when they are done, the user can move around them with the arrow keys or TAB. I'm thinking that there must be another clause I can include that would handle whether one has the focus. Thanks!

As far I remember from my CLIPPER days, you can't!
READ loop is for all of them and always start from one, of course you could put:
KEYBOARD '{ENTER}' 

@ ... GET 
@ ... GET 
@ ... GET 
@ ... GET 
READ
to move to second GET or:
KEYBOARD REPLICATE(CHR(13), 3)

@ ... GET 
@ ... GET 
@ ... GET 
@ ... GET 
READ
to move to fourth GET.
but this is not tested at all :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform