Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

TextArea.SetTextThreadSafeMBS(text as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Controls MBS Util Plugin 13.2 Yes Yes Yes No No
Function: Sets text property on main thread.
Notes:
This method is to allow you to set the text property of a label in a thread without a problem.

If called on main thread, the plugin will simply set text property directly.
If called on other threads the plugin will schedule to set the property a short time later on the main thread.

It may be better to call an update method you created on your window with CallDelegatesMBS.CallDelegateOnMainThreadMBS instead to do several update steps on one.

Feedback, Comments & Corrections

TextArea.WinInsertImageMBS(data as string, Width as Integer, Height as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Controls MBS Win Plugin 14.3 No Yes No No No
Function: Inserts image to file.
Notes:
Specify size in pixels and image data.
Image data works with JPEG and other data types.
Requires Windows 8 or newer.

Some examples which use this method:

Feedback, Comments & Corrections

TextArea.WinRTFDataMBS(SelectionOnly as boolean = false) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Controls MBS Win Plugin 14.3 No Yes No No No
Function: Get or set the RTF data for the text area.
Notes:
Including images and probably faster as StyledText.RTFData.
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

TextArea.WinSelStrikeThroughMBS as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Controls MBS Win Plugin 17.4 No Yes No No No
Function: Get or set StrikeThrough text style.
Notes:
See example project for how to do this for both Mac and Windows.
(Read and Write computed property)

Feedback, Comments & Corrections

TextArea.WinSelSubScriptMBS as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Controls MBS Win Plugin 17.0 No Yes No No No
Function: Get or set subscript text style.
Notes:
Subscript text has a lower base line and is smaller.
See example project for how to do this for both Mac and Windows.
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

TextArea.WinSelSuperScriptMBS as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Controls MBS Win Plugin 17.0 No Yes No No No
Function: Get or set superscript text style.
Notes:
Superscript text has a higher base line and is smaller.
See example project for how to do this for both Mac and Windows.
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins