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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

TextView.GetTop

Queries current position of the text view.

Component Version macOS Windows Linux Server iOS SDK
TextView 9.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "TextView.GetTop"; TextView; swap )   More

Parameters

Parameter Description Example
TextView The reference number to the text view. $textview
swap Whether to swap y coordinate. By default we swap them. Pass 0 to disable or 1 to swap. 1

Result

Returns y coordinate or error.

Description

Queries current position of 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

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


TextView.GetTag - TextView.GetVisible

Feedback: Report problem or ask question.