Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi If “BorderStyle” property of a TextBox be set to “None”, also border would be shown.
What I should do until border not be shown?


Thanks very much
Posted

Just set the BorderStyle to None - a border will only be shown in the designer, not in the executing version, and in the designer only so you can see where it is!

Other than that, the only other difference between the textbox and the background will be the text area colour, which defaults to the value set system-wide. You can override it by setting the BackgroundColor from Window to Control, but then the user won't be able to see that he could enter data in the box.
 
Share this answer
 
Set the BackColor property to the same value as your Form.BackColor.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900