« ActiveX Control crash… | Home | A trip with the cable… »

New RTF functions coming for Windows

In the last days I was curious to see if I can do something about Textarea control on Windows. And this seems to work as it is a standard Windows control.

so for next plugins we have this methods for TextArea:

WinRTFDataMBS(SelectionOnly as boolean = false) as string
WinInsertImageMBS(data as string, Width as Integer, Height as Integer)

Insert image works only for Windows 8 and newer. For older versions we could build something with pasting using clipboard.

The RTF functions can read/write the content of the text area as RTF. This includes embedded images which you can't handle with Xojo's built in RTF functions. The biggest plugin in space...
29 06 14 - 14:52