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. recessed textbox? how? I'm tearing my hair out

recessed textbox? how? I'm tearing my hair out

Scheduled Pinned Locked Moved C#
question
4 Posts 2 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.
  • D Offline
    D Offline
    dd314159
    wrote on last edited by
    #1

    It should be easy right? I want a textbox that looks like the one above where I typed my subject. Are these panels? Or how can you get this look with a textbox? thanks!! I love this place!

    G 1 Reply Last reply
    0
    • D dd314159

      It should be easy right? I want a textbox that looks like the one above where I typed my subject. Are these panels? Or how can you get this look with a textbox? thanks!! I love this place!

      G Offline
      G Offline
      giddy_guitarist
      wrote on last edited by
      #2

      What do you mean by recessed?

      dd314159 wrote:

      I want a textbox that looks like the one above where I typed my subject.

      Theres nothing special that i've noticed , its just a regular textbox!?:confused: In the VS toolbox you have TextBox , the Multiline property by default is false, that what makes the textbox have only one line. If you set it to true then it allows many lines like the textbox where you type you Text while posting something. A screenshot with hightlights on what your referring to would be great What version of .NET are you using , and are you talking about windows applications or web applications? Gideon

      D 1 Reply Last reply
      0
      • G giddy_guitarist

        What do you mean by recessed?

        dd314159 wrote:

        I want a textbox that looks like the one above where I typed my subject.

        Theres nothing special that i've noticed , its just a regular textbox!?:confused: In the VS toolbox you have TextBox , the Multiline property by default is false, that what makes the textbox have only one line. If you set it to true then it allows many lines like the textbox where you type you Text while posting something. A screenshot with hightlights on what your referring to would be great What version of .NET are you using , and are you talking about windows applications or web applications? Gideon

        D Offline
        D Offline
        dd314159
        wrote on last edited by
        #3

        Hi Thanks for the reply. I reread my question and I can see that it was confusing. What I'm asking is how to get an "inset" textbox - so that it looks like it is below the surface of the windows form - as opposed to appearing flat or appearing raised like a button. Hope I've expressed my question in an understandable way now. If not I'll send a screen shot. I'm running .NET 2.0 and I guess I'd like to be able to have inset textboxes on windows forms as well as web forms. Thanks!

        G 1 Reply Last reply
        0
        • D dd314159

          Hi Thanks for the reply. I reread my question and I can see that it was confusing. What I'm asking is how to get an "inset" textbox - so that it looks like it is below the surface of the windows form - as opposed to appearing flat or appearing raised like a button. Hope I've expressed my question in an understandable way now. If not I'll send a screen shot. I'm running .NET 2.0 and I guess I'd like to be able to have inset textboxes on windows forms as well as web forms. Thanks!

          G Offline
          G Offline
          giddy_guitarist
          wrote on last edited by
          #4

          um well the textbox i'm typing in right now is flat , even the subject box is. http://gidsfiles.googlepages.com/textbx_flat.jpg[^] The only styles availiable if visual styles are enabled are in the textBox.Border style properties. but you could try not calling Application.EnableVisualStyles(); This will get everything to the old win98 style , so everything else has the style. Gideon

          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