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