Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference to form not disappearing from Window menu
Message
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00795532
Message ID:
00797395
Views:
26
This message has been marked as the solution to the initial question of the thread.
Torgny,

Since this appears to be a progressbar form, I wouldn't think it needs to even appear in the Window menu in the first place. So, why not just set the lWindowMenu property to false?


>Hi all,
>
>I can see an "1" in the window menu after running a procedure using the progressbar, and
>clicking on that menu item generates an error:
>
>Error #214 in
>"ACTIVATE ..."
>Window 'FRMPROGRESS001' has not been defined.
>
>
>
>LOCAL oProgress
>...
>m.oProgress = GoApp.oMessage.ProgressBar('Hämtar planering från SpinOff...')
>...
>m.oProgress.SetProgressRange(0, _TALLY)
>...
>m.oProgress.UpdateProgress(lnCount)
>...
>m.oProgress.CloseProgress()
>
>
>What am I missing to be sure that there is no progressbar form ref. left in the menu ?
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform