Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modi comm (filename) from pad of system menu
Message
From
21/05/2001 04:10:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Modi comm (filename) from pad of system menu
Miscellaneous
Thread ID:
00509338
Message ID:
00509338
Views:
44
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
Map
View

Click here to load this message in the networking platform