version 2003
PA_Dial4DGetLastObject (dialog; lastObjectName)
| Parameter | Type | Description | |
| dialog | PA_Dial4D | Dialog reference | |
| lastObjectName | char* | Last object name |
Description
The routine PA_Dial4DGetLastObject fills the string buffer lastObjectName with the name of the last selected object. This may be useful in handling particular events if a specified object was selected.
Example
char objectName[ 256 ] = { 0 };
PA_Dial4DGetLastObject( dialog, objectName );
if ( 0 == strcmp( objectName, "aSpecialObject" ) )
{
/* --- */
}