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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
TextView.CreateWithSize
Creates a new text view inside the window with the given rectangle.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| TextView | 9.2 | Yes | Yes | No | No | Yes |
MBS( "TextView.CreateWithSize"; WindowRef; x; y; w; h ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
| x | The left coordinate in the window. | 0 |
| y | The top coordinate in the window. | 0 |
| w | The width of the text view in the window. | 100 |
| h | The height of the text view in the window. | 100 |
Result
Returns text view reference number on success.
Description
Creates a new text view inside the window with the given rectangle.Use TextView.Release later to destroy the text view.
If you use a register (tab controls) on the window, be aware that the text view actually is in front of the register (tab controls). You may hide the text view if another register is visible.
Text view reference numbers are starting at 81000 and counting up for each new text view.
See also
- ImageView.CreateWithSize
- MapView.CreateWithSize
- TextView.Release
- Window.FindByIndex
- Window.FindByTitle
Created 15th April 2019, last changed 15th April 2019
TextView.CreateWithControl - TextView.Cut
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins