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: