« One month until FileM… | Home | When to initialize pl… »

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.
29 06 14 - 14:52
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.