Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control boxes
Message
From
15/02/1999 08:01:58
 
 
To
15/02/1999 07:48:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00187629
Message ID:
00187632
Views:
23
>i have a form that requires several check boxes. i have got the boxes on the form and i have the controls to come back with a .T. value if checked. when the box is checked i want the cursor to go to the next control. how can i set this up. i am very new at this and cannot seem to find any info on how to get this done. thanks in advance.
>
>jim blaylock

I don't quiet understand what you're trying to do.
But if you want to skip 'selected' checkboxes, you can simply have them disabled.
Or if you want them to be enabled, set them as ReadOnly, or set the TabStop property to .f..

Other Ideas are to put NODEFAULT in the When() or GotFocus() method or have it selective executed.
This will cause Fox to suppress it's default behaviour and not stop on the checkbox, neither let the user select it.

Or you can put a selective return .f. from the When()/GotFocus() method.

Or you can play with the KeyPress event to have the key stroke tranformed into a KEYBOARD '{TAB}' which will make you jump to the following control.

So I hope I've put you on the road.

kind regards,
Yves.
Previous
Reply
Map
View

Click here to load this message in the networking platform