OnClosed

Description

This callback is fired when a user clicks the Close button (or the equivalent shortcut) on the property page.

To access the property page from the callback code, use the PPG object.

Applies To

Custom Properties implemented in a scripting language

Syntax

// JScript
function <property_name>_<button_name>_OnClosed()
{
   ...
}

# Python
def <property_name>_<button_name>_OnClosed():

' VBScript
Function <property_name>_<button_name>_OnClosed()
   ...
End Function

# Perlscript
sub <property_name>_<button_name>_OnOnClosed
{
   ...
}

<property_name> is the name specified in the call to RegisterProperty, with any spaces removed. For example, if you register a property with the name "My Property", the callback function names start with "MyProperty".

<button_name> is the name specified in the call to AddButton, with any spaces removed.

See Also

Define

DefineLayout

OnChanged

OnClicked

OnInit

OnTab

PPGEvent

Command Button

Property Callbacks



Autodesk Softimage v7.5