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
  1. Home
  2. General Programming
  3. C#
  4. Advice needed (about creating a TextBox like control)

Advice needed (about creating a TextBox like control)

Scheduled Pinned Locked Moved C#
questionannouncement
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.
  • C Offline
    C Offline
    Cristoff
    wrote on last edited by
    #1

    I have the following question: What do I need to know to create an own TextBox like control with special features. After researching TextBox control I think that a customized version of it won't do what I need. It shouldn't be very sophisticated but I don't really know where to start and if I can do it in a feasable time. How difficult might be implement such a control? Do you know about any such samples or tutorials? Thank you in advance.

    K S 2 Replies Last reply
    0
    • C Cristoff

      I have the following question: What do I need to know to create an own TextBox like control with special features. After researching TextBox control I think that a customized version of it won't do what I need. It shouldn't be very sophisticated but I don't really know where to start and if I can do it in a feasable time. How difficult might be implement such a control? Do you know about any such samples or tutorials? Thank you in advance.

      K Offline
      K Offline
      KrIstOfK
      wrote on last edited by
      #2

      What are "special features" ?? colors ... bold ...

      C 1 Reply Last reply
      0
      • C Cristoff

        I have the following question: What do I need to know to create an own TextBox like control with special features. After researching TextBox control I think that a customized version of it won't do what I need. It shouldn't be very sophisticated but I don't really know where to start and if I can do it in a feasable time. How difficult might be implement such a control? Do you know about any such samples or tutorials? Thank you in advance.

        S Offline
        S Offline
        sathish s
        wrote on last edited by
        #3

        You have to create a custom control. Derive your conrol from the standard System.Windows.Forms.Textbox and Override the methods you want. To start with try gooling "windows custom controls textbox" syncfusion

        C 1 Reply Last reply
        0
        • K KrIstOfK

          What are "special features" ?? colors ... bold ...

          C Offline
          C Offline
          Cristoff
          wrote on last edited by
          #4

          I need to place a combobox next to each line. Different background color for each line, line numbers, well fonts, font colors etc. won't be bad but are extra features not really needed for now. I'll compare it to the code editor in Dreamweaver 8, something similar with a few more features but it is not a "code" editor so I don't need synatax highlighting for example.

          1 Reply Last reply
          0
          • S sathish s

            You have to create a custom control. Derive your conrol from the standard System.Windows.Forms.Textbox and Override the methods you want. To start with try gooling "windows custom controls textbox" syncfusion

            C Offline
            C Offline
            Cristoff
            wrote on last edited by
            #5

            Well, thank you! I know that already. What I don't really have any idea about is if font drawing, text handling etc. is difficult and if writting such a control will consume huge amount of time. I want to have an idea approximately how much time such a project would need: a week, a month, an year? -- modified at 7:13 Tuesday 16th May, 2006

            J 1 Reply Last reply
            0
            • C Cristoff

              Well, thank you! I know that already. What I don't really have any idea about is if font drawing, text handling etc. is difficult and if writting such a control will consume huge amount of time. I want to have an idea approximately how much time such a project would need: a week, a month, an year? -- modified at 7:13 Tuesday 16th May, 2006

              J Offline
              J Offline
              J4amieC
              wrote on last edited by
              #6

              Cristoff wrote:

              I want to have an idea approximately how much time such a project would need: a week, a month, an year?

              This is like asking "How long is a piece of string?". Basically its going to depend on so many factors such as how proficient you are with coding. How well you know the control classes, and derived controls. How many extra features do you want. As a hint, it will take even an experienced programmer upward of a day to develop a reasonably complex control. 5 developers could work for a few months on a really really complex control. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

              C 1 Reply Last reply
              0
              • J J4amieC

                Cristoff wrote:

                I want to have an idea approximately how much time such a project would need: a week, a month, an year?

                This is like asking "How long is a piece of string?". Basically its going to depend on so many factors such as how proficient you are with coding. How well you know the control classes, and derived controls. How many extra features do you want. As a hint, it will take even an experienced programmer upward of a day to develop a reasonably complex control. 5 developers could work for a few months on a really really complex control. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

                C Offline
                C Offline
                Cristoff
                wrote on last edited by
                #7

                Yeah, I know my question is stupid but probably someone has done something similar and knows how much time he has needed to accomplish it.

                J 1 Reply Last reply
                0
                • C Cristoff

                  Yeah, I know my question is stupid but probably someone has done something similar and knows how much time he has needed to accomplish it.

                  J Offline
                  J Offline
                  J4amieC
                  wrote on last edited by
                  #8

                  No, no. Your question is not stupid at all! However, asking how much time it will take depends entirely on you. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

                  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