Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Enable foldering ?

Enable foldering ?

Scheduled Pinned Locked Moved C#
question
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ahmed R El Bohoty
    wrote on last edited by
    #1

    Hi guys, How i can make Enable foldering in richtextbox like edtiors ?

    C S 2 Replies Last reply
    0
    • A Ahmed R El Bohoty

      Hi guys, How i can make Enable foldering in richtextbox like edtiors ?

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      What is "foldering"?


      Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

      A 1 Reply Last reply
      0
      • A Ahmed R El Bohoty

        Hi guys, How i can make Enable foldering in richtextbox like edtiors ?

        S Offline
        S Offline
        Sathesh Sakthivel
        wrote on last edited by
        #3

        What? Foldering i have not heard abt this? let me know it in detail?

        Regards, Satips.

        1 Reply Last reply
        0
        • C Colin Angus Mackay

          What is "foldering"?


          Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

          A Offline
          A Offline
          Ahmed R El Bohoty
          wrote on last edited by
          #4

          see this image and u will know what i mean http://www2.0zz0.com/2007/04/27/22/13626115.gif[^]

          C 1 Reply Last reply
          0
          • A Ahmed R El Bohoty

            see this image and u will know what i mean http://www2.0zz0.com/2007/04/27/22/13626115.gif[^]

            C Offline
            C Offline
            Colin Angus Mackay
            wrote on last edited by
            #5

            Oh, you mean Visual Studio's ability to expand and contract blocks of code. That is a function of the Visual Studio IDE. It isn't available in the RichTextBox. You would have to write the functionality yourself.


            Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

            A 1 Reply Last reply
            0
            • C Colin Angus Mackay

              Oh, you mean Visual Studio's ability to expand and contract blocks of code. That is a function of the Visual Studio IDE. It isn't available in the RichTextBox. You would have to write the functionality yourself.


              Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

              A Offline
              A Offline
              Ahmed R El Bohoty
              wrote on last edited by
              #6

              How i can do it ?

              C 1 Reply Last reply
              0
              • A Ahmed R El Bohoty

                How i can do it ?

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #7

                ahmed17 wrote:

                How i can do it ?

                That would take to long to explain in a forum post. Start by writing down all the functionality you need in your editor. Itemise everything, every minute detail. How it looks, how it response to mouse clicks, key presses and so on. Then work out how you would implement it. What classes you need, how they will interact, what events it will raise and respond to, and so on. Then start writing code. Write unit tests, ensure it works. Use the control. Once you have it to the quality that you want, you can use it in your application.


                Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

                C 1 Reply Last reply
                0
                • C Colin Angus Mackay

                  ahmed17 wrote:

                  How i can do it ?

                  That would take to long to explain in a forum post. Start by writing down all the functionality you need in your editor. Itemise everything, every minute detail. How it looks, how it response to mouse clicks, key presses and so on. Then work out how you would implement it. What classes you need, how they will interact, what events it will raise and respond to, and so on. Then start writing code. Write unit tests, ensure it works. Use the control. Once you have it to the quality that you want, you can use it in your application.


                  Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

                  C Offline
                  C Offline
                  caix
                  wrote on last edited by
                  #8

                  Yup, for some bizarre reason the very control we all spend so much time looking at is not part of the .NET framework AFAIK. If you dont want to do all the code then have a quick look at SharpDevelop (http://www.sharpdevelop.com/[^]) They have written everything from the ground up, but you'll have to spend a fair amount of time extracting the relevant bits - i did read somewhere that you can use their code as it has it's own namespace, and of course it is OpenSource - but there's a lot of code there. It also a good IDE.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups