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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

TextView.SetFrame

Sets a new frame for the text view.

Component Version macOS Windows Linux Server iOS SDK
TextView 9.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "TextView.SetFrame"; TextView; X; Y; Width; Height )   More

Parameters

Parameter Description Example
TextView The reference number to the text view. $textview
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 text view.
As Cocoa framework uses zero for the bottom coordinate, we have to swap for the normal topdown coordinates to be used.

See also

Release notes

Blog Entries

Created 15th April 2019, last changed 15th April 2019


TextView.SetFocus - TextView.SetFrameWithControl

Feedback: Report problem or ask question.


Start Chat