Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
Videos
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

ImageView.SetFrame

Sets a new frame for the image view.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImageView 7.4 Yes No No No Yes
MBS( "ImageView.SetFrame"; ImageView; X; Y; Width; Height )   More

Parameters

Parameter Description Example value
ImageView The image view reference number. $$ImageView
X The x coordinate.
Y The y coordinate.
Width The width of the control.
Height The height of the control.

Result

Returns OK or error.

Description

Sets a new frame for the image view.
As Cocoa framework uses zero for the bottom coordinate, we have to swap for the normal topdown coordinates to be used.

See also

Blog Entries

Created 14th September 2017, last changed 14th September 2017


ImageView.ReleaseAll   -   ImageView.SetFrameWithControl

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins