Search:

Type: Posts; User: dilettante

Search: Search took 1.23 seconds.

  1. Replies
    21
    Views
    2,382

    Re: [RESOLVED] Clipboard Italics

    By that logic when told to "copy" the selected text, the RTB should copy RTF first and then Text, right?

    So does that explain the behavior seen above?


    Here's an attempt to escape text as "RTF...
  2. Replies
    21
    Views
    2,382

    Re: [RESOLVED] Clipboard Italics

    These are good points. Similar to avoiding SQL Injection headaches when building dynamic SQL.
  3. Replies
    21
    Views
    2,382

    Re: Clipboard Italics

    I'm not sure, but telling the RTB to "copy" whatever is selected that way probably puts several formats of the selected text onto the Clipboard.

    So if the GMail widget logic sees "plain text" as...
  4. Replies
    21
    Views
    2,382

    Re: Clipboard Italics

    RTF is easy enough:


    Option Explicit

    Private Sub Command1_Click()
    With Clipboard
    .Clear
    .SetText "{\rtf1\i " & Text1.Text & "}", vbCFRTF
    End With
Results 1 to 4 of 4



Click Here to Expand Forum to Full Width