Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

@MDIACTIVE and @MDIFRAME (OpenInsight Specific)

At 17 APR 1998 07:57:33AM Oystein Reigem wrote:

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 -


At 17 APR 1998 08:20AM Carl Pates wrote:

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

Sprezzatura Ltd

World Leaders in all things RevSoft (Except VIP)


At 17 APR 1998 09:18AM Blaise(Revelation) wrote:

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


At 17 APR 1998 09:20AM Oystein Reigem wrote:

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 -

View this thread on the forum...