Equinox Online Help - Language Reference - A to Z

Home

SelectPicture

Applies to
SyntaxSelectPicture [PictureField]
Action[Statement] Allows you to assign a picture to a picture field.
ScopeUsable anywhere.
Notes

This statement generates a dialog from which you may select an image file. The picture contained in the file is assigned to the Picture Field specified for the current record.

This statement has the same effect as selecting ‘Select a picture...’ from the Edit menu, while using a form for data entry. However, using this option rather than method language displays the Picture Field Selection dialog (if your form has more than one picture field) before the picture dialog itself.

If you omit the optional parameter in the method language, the statement has the same behaviour as the menu option.

CategoryPictures
See Also AssignPicture, ErasePicture, ExportPicture, ImportPicture, IsPicture, PictureSize, PictureType, ShowPictures
Example

The following example allows the user to select a picture, for a picture field called ‘piccies’ in the current record.

SelectPicture piccies