Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Old Code (@ GET) - Determine focus and change display
Message
 
To
20/07/2007 14:28:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01242455
Message ID:
01242457
Views:
22
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform