Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming form method causes grid to
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982551
Message ID:
00982923
Views:
35
>Hi all:
>
>Got a weird problem with my VFP app. It was a VFP6 app that I ported to VFP9.
>
>I have a form with one grid. After renaming one of the user-defined methods of the form, the grid seems to be destroyed at runtime. Stepping through the code, it seems the column objects were not created, and only the grid exists.
>
>Is this a known issue? How do I rename that method?
>
>Any help is highly appreciated.
>
>TIA

>I'm not aware of a specific problem with renaming a method, but I know if there are any syntax problems when you setup a grid in code that it will cause the grid to go blank. Is that what you're seeing? Have you double-checked for typos?


Hi Barbara:

Thanks for your reply. I am quite sure that there are no typos because before I renamed the form method, it was running. After I renamed it, I made sure all code that referenced that old method name was changed.

For now, what I am doing is not to rename the method at all.

Regards
Bernard L. Omiple
VFP, SQL Server, Crystal Reports
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform