Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VarType.Prg does not exist?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
VarType.Prg does not exist?
Miscellaneous
Thread ID:
00303544
Message ID:
00303544
Views:
115
In Visual FoxPro 6 SP3, I've just created a form using another developers Class library. There is a right click method in the textbox class with the following code snippet:

IF VARTYPE(This.Value) = "D" .AND. EMPTY(This.Value)
This.Value = DATE()
ENDIF

When I went to run a test on the form, I right clicked on the text box and received an error:

File "Vartype.prg" does not exist.

This.Value was empty (it's value was { / / }). Any ideas why VFP would look for an external prg file for an internal command?
Oct 31 = Dec 25
Next
Reply
Map
View

Click here to load this message in the networking platform