Hello Again People,
I have an application where a sub-form calls code that has WAIT WINDOWS. The problem is that the WAIT WINDOWS causes the VFP main screen to get focus and the form won't show , the user has to click on taskbar or switch to it. The issue occurs regardless if the sub-form is Modal or Modeless.
So I was thinking about putting a message label in the sub-form itself. I can't use _screen.activeForm since the sub-form is not in the active screen. It has been quite a while since I had to deal with this and I recall that one option was to setup a public variable in the LOAD() of the form like this:
public oForm
oForm = this
Then whenever I needed to access the form I would use oForm instead of _screen.ActiveForm.
is this correct?
is there a better way?