Attributes of the Frame
The Frame provides:
The attributes AxesOrigin, BackgroundColor, Failed, ModifyStructure, Pause, ReplacementMode, RepresentationMode, RotateMUs, ScalingFactor, ShiftCalendarObject, ShowDisplayPanels, ShowObjectLabels, ShowObjectNames, ShowUserMenu, ShowUserPopupMenu, StateBlocked, StateEntryShut, StateResourceMissing, StateSetup, StateWorking, Stopped, Unplanned, UserMenu, UserMenuTitle, UserPopupMenu, and ZoomFactor.
To view all of the methods and attributes of the selected Frame, open the window Show Attributes and Methods. The figure below illustrates the information using the example of the object Source.
Select Show Attributes and Methods on the context menu of the Class Library to show the attributes and methods of the selected Class.
Press the F8 key or click Show Attributes and Methods on the Home ribbon tab of the Frame into which you inserted an instance to show the attributes and methods of the selected Instance.
You can set the value of an attribute by assigning values to the respective attributes and you can get its value:
To set the value of an attribute, you might, for example, type:
Frame.StateBlocked := true
To get the value of an attribute, you might, for example, type:
print .Models.Frame.BackgroundColor
posit := MyStation.Cont.XPos
Related Topics
AxesOriginBackgroundColor (Frame)
Failed (Frame)
ModifyStructure
Pause (Frame)
ReplacementMode
RepresentationMode
RotateMUs (Frame)
ScalingFactor
ShiftCalendarObject (Frame)
ShowDisplayPanels
ShowObjectLabels
ShowObjectNames
StateBlocked
StateEntryShut
StateResourceMissing
StateSetup
StateWorking
Unplanned (Frame)
ZoomFactor