Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I hate _curobj!
Message
From
27/08/1998 16:02:22
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00130688
Message ID:
00130733
Views:
16
>Joe,
>
>Stop being frustrated by _curobj. It is a feature of VFP that is for backwards compatiblity, as Dan Freeman says, that means compatible with backwards.
>
>Dump the ON KEY LABELs, set the form's KeyPreview property to .T. and use the form's KeyPress event to trap the keystrokes you want. Then refer to the form's controls by their names as in THISFORM.Text1. Get rid of the reads too, they are also for backwards compatibility.
>
>If you want to get up to speed quickly, I would suggest that you purchase one of the many books for VFP3 or VFP5, both will get you into the VFP way of doing things.

I know how to do this on a form. I'm working on some old 2.6 code that's still in my app.. I'm in the process of converting it, but we're having to do it very slowly, because we still have to send out releases of the product while converting it. I'm trying to get _curobj to work without forms in VFP 5.0a
Previous
Reply
Map
View

Click here to load this message in the networking platform