I want to use the system variables @MDIACTIVE and @MDIFRAME in my programming, but the compiler says "Illegal expression encountered". What's wrong? All the other environment system variables are OK.
I use OI 3.3.
- Oystein -
Hi Oystein,
You're right. @MDIActive and @MDIFrame are not recognised by the compiler, and can only be used in the context of Quickevents. I don't know if this is an oversight on RTI's part, but at least we've got the 'Expendable' keyword back in OI3.6!
cpates@sprezzatura.com
World Leaders in all things RevSoft (Except VIP)
Oystein,
In your code you can get these properties using Get_Property. Here are the lines to use:
mdiFrame =Get_Property(windowID, "MDIFRAME")
mdiActive=Get_Property(windowID, "MDIACTIVE")
This should be a suitable workaround.
Good luckā¦
Blaise
Carl,
Thanks for setting my mind at ease. I thought somebody had pilfered system variables from my OI. I can manage without the missing two, however. I use Get_Property instead.
- Oystein -