Property Callbacks

Callback

Description

Define

Fired when a property is added to an object (for example, using SceneItem.AddProperty). This is where you add parameters to the property.

DefineLayout

Fired when the property page is first displayed. This is where you define the layout of UI controls on the property page.

OnInit

Fired each time the property page is displayed (e.g., each time the property is inspected with InspectObj). Allows you to set the initial values of the UI controls.

OnChanged

Fired each time a UI control changes value.

OnClicked

Fired when a command button is clicked.

OnClosed

Fired when the property page is closed via the Close button or the keyboard shortcut.

OnTab

Fired when a user clicks a tab.

PPGEvent

C++ and C# callback for all property page events (OnInit, OnChanged, OnClicked, OnClosed, and OnTab).

Term

Fired when a property is deleted.



Autodesk Softimage v7.5