Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write Valid Event code in .PRG?
Message
 
 
To
10/07/1998 20:20:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116287
Message ID:
00116384
Views:
12
KK,

>Because I tried to save the code generated by Class Browser in .PRG, but an error message 'Syntax Error' generated. So I want to know how to write it.

The class browser (CB) does not produce executable code if there is more than 1 level of containership involved. Your grid puts the textbox 3 levels of containership deep, so you are out of luck. The CB output is only for documentation purposes.

>I use VFP3.0B. For the TextBox control, does it has Text property in VFP5.0.

The textbox class did not change between 3 and 5. You use the .Value property to access the current text of the control.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform