PA_Dial4DSetArrayPictureHandle

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

version 2003


PA_Dial4DSetArrayPictureHandle (dialog; variable; picture; info; index)

ParameterTypeDescription
dialogPA_Dial4DDialog reference
variablechar*Variable name of the picture array
picturePA_HandleHandle of the Macintosh Picture
infoPA_PictureInfoPicture information
indexlongIndex of the picture in the array

Description

The routine PA_Dial4DSetArrayPictureHandle allows you to set a picture in an array. variable is the variable name, this variable must be an array of pictures. index is the index in the array where you want to assign the picture. If this index is greater than the array length, the picture will be appended to the array, otherwise the picture will replace the previous one in this array.

4th Dimension uses Macintosh Pictures internally as such the data must point to a valid Macintosh Picture handle. The picture handle belongs to the array once this command has been called; you should not attempt to dispose of it.

See Also

PA_Dial4DNewArrayPicture, PA_Dial4DSetArrayPicture, PA_Dial4DSetArrayPictureFromResources.


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