Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 and _CUROBJ
Message
From
25/11/1998 09:56:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
VFP5 and _CUROBJ
Miscellaneous
Thread ID:
00161344
Message ID:
00161344
Views:
64
I have this FPW2.6 form that had data entry boxes(textbox). If the user pressed F2 a list box would popup showing a selection which if selected would fill the value in the textbox and "Jump" to the next textbox. The code in the LISTBOX valid aften filling the field was:

IF NOT EMPTY(txtdata1)
_CUROBJ = OBJNUM(m.txtdata1)+1
SHOW GETS
ENDIF

This caused the focus to move to the NEXT text box in TAB order.

I need to do something similar in VFP5 except the help is of no help.
_CUROBJ is not supported.

How can I do this in vfp5. I need to make the focus move to the next txtbox in tab order from a form method. I can achieve this using KEYBOARD{DNARROW} but would prefer a better method.

The form Method need not know the next textbox object name (like above in FPW26 OBJNUM(m.currentfield)+1).

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform