|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|control||Cocoa Controls||MBS Cocoa Plugin||13.4||Yes||No||No||No||No|
This control embeds a special NSTextView subclass.
Designed for Xojo 2013r1 and newer. May work on Real Studio 2012, but not perfectly.
Please use view property to access the underlaying object and set properties.
- event BoundsChanged
- event EnableMenuItems
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuAction(HitItem as MenuItem) As Boolean
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event ScaleFactorChanged(NewFactor as Double)
- event shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- event textDidBeginEditing
- event textDidChange
- event textDidEndEditing
- event textShouldBeginEditing as boolean
- event textShouldEndEditing as boolean
- event textViewDidChangeSelection
- property AcceptTabs as Boolean
- property Scrollview as Variant
- property View as NSTextViewMBS
Some examples which use this control:
The items on this page are in the following plugins: MBS Cocoa Plugin.
MBS Xojo tutorial videos