Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

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?
Example:
#if TargetWin32 then
TextArea1.WinRTFDataMBS = TextArea2.WinRTFDataMBS
#elseif TargetMacOS then
TextArea1.NSTextViewMBS.textStorage.setAttributedString TextArea2.NSTextViewMBS.textStorage
#else
TextArea1.StyledText = TextArea2.StyledText
#endif
Notes: The code above uses special plugin functions on Mac and Windows and falls back to framework for Linux.

Feedback, Comments & Corrections




Links
MBS Xojo PDF Plugins