Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy Question about Form Release
Message
 
To
17/05/2005 19:29:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01015143
Message ID:
01015157
Views:
18
>I'm sure this is a real easy question, but I seem to be having a 'moment':
>
>I have one form (called CHART1) on which there is a listbox. When one double clicks on the list box, another form (EDITPAT) opens to allow user input. The EDITPAT 'OK' button has the following in the 'Click' method:
>
>thisform.release
>CHART1.list1.setfocus
>
>to specifically send the focus back to the listbox on the first form. When I run the code, and press the 'OK' button in EDITPAT, I keep getting the error message "Object CHART1 is not found".
>
>What am I forgetting to do?

You might make form CHART1 public in the main program. You could also set focus to the list box and fire CHART1's release from there.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform