TextArea class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

TextArea class

Type Topic Version
class Cocoa Controls 9.7
The built in textarea class in Xojo.
Example
// make a PDF from a textarea in Cocoa Xojo target:

// find view
dim n as NSViewMBS = TextArea1.NSViewMBS
if n = nil then
MsgBox "Only in Cocoa!"
Return
end if

// make pdf data
dim s as string = n.dataWithPDFInsideRect(0,0,n.frame.Width, n.frame.Height)

// save
dim f as FolderItem = GetSaveFolderItem("", "test.pdf")

if f<>Nil then

dim b as BinaryStream = BinaryStream.Create(f, true)

b.Write s

end if

Requires RB 2009r4 or newer.

This class has no sub classes.

See also in the Xojo Language Reference

Some methods using this class:

Release notes


The items on this page are in the following plugins: MBS MacCocoa Plugin, MBS MacControls Plugin, MBS Util Plugin, MBS Win Plugin.


TessResultIteratorMBS   -   TextConverterMBS


💬 Ask a question or report a problem