Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.Copy styled text?
Answer: How to quickly copy styled text from one textarea to another?
#if TargetWin32 then
TextArea1.WinRTFDataMBS = TextArea2.WinRTFDataMBS
#elseif TargetMacOS then
TextArea1.NSTextViewMBS.textStorage.setAttributedString TextArea2.NSTextViewMBS.textStorage
TextArea1.StyledText = TextArea2.StyledText
Notes: The code above uses special plugin functions on Mac and Windows and falls back to framework for Linux.

Feedback, Comments & Corrections

The biggest plugin in space...

MBS Xojo tutorial videos