Chapter Contents

Previous

Next
Properties for Controlling a SAS Automation Object

Properties for Controlling a SAS Automation Object



Specify various properties of the SAS automation object


Properties and Descriptions


Properties and Descriptions

Busy
indicates whether SAS is idle or working (for example, running a procedure, DATA step, and so on). This property is read only.

CommandWindow
sets the window (based on the window title) to receive commands you specify using the Command method. The name you specify must match the spelling of the window name exactly (though this property is not case sensitive). Once set, the window receives subsequent commands you specify with the Command method until CommandWindow is changed or set to Null (by specifying ""). If Null, which is the default, the currently active window receives the command. This property is read/write.

CommandWindowVisible
controls whether the window specified by the CommandWindow property is visible. If set to False, the window specified by the CommandWindow property is set to invisible. If the CommandWindow property is Null, this property has no effect. This property is read/write.

ConfirmExit
controls the behavior of how SAS exits. A value of 0 means that no confirmation box is displayed before SAS exits. A value of 1 means that a confirmation box is displayed before SAS exits. A value of 2 selects the default action, which is controlled by an alternative method that defines how SAS exits; for example, the Preferences dialog.

Height
sets the height, in pixels, of the SAS application window. This property is read/write.

Parent
sets the name of the parent window that contains the SAS application window. If you change this value to another window, the SAS application window resizes to fit in the new frame. This property is read/write.

RC
returns the return code passed by a user function. You can set this property from within the SAS session by using the SETRC function. This property is read-only from the automation controller.

ResultString
returns a string passed by a user function. You can set this property from within the SAS session by using the SETRC function. This property is read-only from the automation controller.

Title
sets the main SAS window title. This property is read/write.

Visible
controls whether SAS is visible. This property is read/write.

Width
sets the width, in pixels, of the SAS application window. This property is read/write.

X
sets the horizontal coordinate, in pixels, for the top left corner of the SAS application window. This property is read/write.

Y
sets the vertical coordinate, in pixels, for the top left corner of the SAS application window. This property is read/write.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.