PA_Dial4DSetArrayPicture


version 2003


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

Parameter Type Description
dialog PA_Dial4D Dialog reference
arrayName char* Name of the picture array to access
picture void* Pointer to picture data
len long Length of the array
infos PA_PictureInfos Picture information
index long Index 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.