PA_Dial4DGetLastObject

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_Dial4DGetLastObject (dialog; lastObjectName)

ParameterTypeDescription
dialogPA_Dial4DDialog reference
lastObjectNamechar*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" ) )
   {
      /* --- */
   }

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next