General information
Title:
Modi comm (filename) from pad of system menu
I'd like to have a Pad "What's New" in Foxpro system menu which invokes the the command =show_whatsnew() upon selection
function show_whatsnew
modi file whatsnew.txt
The window pops up okay first time ,but when the same pad is clicked again
without closing window in the beginning of the application session it results in information box
"Active form is not an object"
pressing "Help" brings topic
"name" is not an object (Error 1924)
This name was previously defined as something other than an object.
You have another occurrence of name.
Check your code for duplicate instances of name.
It needs clicking "OK" button several times to clear this information box.
Then the problem cannot be reproduced .
Because we sit in "modi file ..." any flags before that or skip for wexist("WHATSNEW.TXT" ) don't seem to be helpful. Any ideas ?
Thank you.
Michael
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only