PA_Dial4DSetArrayPicture

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

version 2003


PA_Dial4DSetArrayPicture (dialog; arrayName; picture; len; infos; index)

ParameterTypeDescription
dialogPA_Dial4DDialog reference
arrayNamechar*Name of the picture array to access
picturevoid*Pointer to picture data
lenlongLength of the array
infosPA_PictureInfosPicture information
indexlongIndex of the element

Description

The routine PA_Dial4DSetArrayPicture allows you to populate an array of pictures. arrayName 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 len 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.

See Also

PA_Dial4DNewArrayPicture, PA_Dial4DSetArrayPictureFromResources, PA_Dial4DSetArrayPictureHandle.

Error Handling

None.


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