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

GET(SET)_PROPERTY ..Is a window open? (OpenInsight Specific)

At 18 JUN 1998 10:26:35AM Steve C. wrote:

Two questions…

It use to be that when I looked up help for GET(SET)_PROPERTY

I would see all the parameters for these functions.. there not

there anymore. Where do I find complete docs on these???

.

Next.. if I run a subroutine, what is the function/parameters

I need to run to see what OI forms are open and to check if

one particular form is open…

Thanks..

Steve C.


At 18 JUN 1998 11:01AM John Duquette wrote:

Steve,

Chapter 4 of the PREF has all the Properties listed. for get/set property.

Get_Poperty takes the following format:

returnvalue=Get_Property(objectname, property , auxiliaryarg)

Set_Property takes the following format:

existingprop=Set_Property(objectname, property, value, auxparameter)

You should check the HANDLE property to see if a window is open. If it is, the return value will be nonzero nonnull number.

John Revelation


At 18 JUN 1998 01:50PM Don Bakke wrote:

Steve,

Next.. if I run a subroutine, what is the function/parameters I need to run to see what OI forms are open and to check if one particular form is open…

Use the following:

OpenWindows=Utility("OBJECTLIST", "", "WINDOW")

This will return an @FM delimited list of OI windows.

[email protected]

SRP Computer Solutions

View this thread on the forum...