Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00145283
Message ID:
00145296
Views:
30
Fred,

Is Stock a form object? If so it's quite possible that the Grid is instantiating before Stock now. It's better to delay this type of inter-object dependency until the innermost container that holds the objects Inits that way you are assured both objects exist.

>I have a Grid header's caption like thisform.stock.getcaption(), Stock being a custom class on the form. It worked fine in VFP 5 but will not work in VFP 6. It says cannot find object Stock.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform