SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

RTB Properties, Methods and Functions in TextEditor?

Last post 07-07-2008 7:55 AM by SmileyWolf. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-06-2008 6:24 PM

    RTB Properties, Methods and Functions in TextEditor?

    Hi!

     I'm having a little trouble with replacing the RTB in my JavaScript Editor Application with a SharpDevelop TextEditor Control, how would i go about using or simulating the following features:

    RTB.Modified

    RTB.ZoomFactor

     RTB.SelectAll

     

    Any Help Would be Greatly Appreciated!

     

    SmileyWolf

  • 07-06-2008 10:35 PM In reply to

    Re: RTB Properties, Methods and Functions in TextEditor?

    Modified

    The textEditorControl.Document.DocumentChanged event indicates that the text has changed.

    Zoom

    To zoom increase or decrease the font size.

         textEditorControl.Font = new Font(textEditorControl.Font.Name, textEditorControl.Font.Size + 1);

    Select All

          textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.SelectAll(null, null);

               

           
     

  • 07-07-2008 7:55 AM In reply to

    Re: RTB Properties, Methods and Functions in TextEditor?

    Hi and Thanks!

     You've Been Really helpful, that worked perfectly!

    Thanks Again!

    SmileyWolf

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.