Rated
Read 51,720 times
Contents
Related Categories
TextBox Control - Properties and Events
Properties and Events
The textbox control has the following main properties:
|
Property
|
Changes...
|
| Name |
TextBox Name |
| Text |
Text |
| MultiLine |
whether the text box can display multiple lines |
| BackColor |
Background Colour |
| ForeColor |
Text Colour |
| BackStyle |
Back style - Opaque or Transparent |
| SelText |
Selected Text |
| SelStart |
Start Position of the selection |
| SelLength |
Length of the selection |
All of these properties can be set during runtime (when the code is running).
James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.
Comments
-
Posted by bishnupatro on 12 Feb 2008
Hi,
In my C# application there is a multiline textbox with vertical scrollbar. When the multiline textbox get updated with new ...
Posted by bmahler on 15 Nov 2005
[quote][1]Posted by [b]RueprtR[/b] on 12 Feb 2004 10:23 PM[/1]
Private Sub optSelect_Click()
' place the insertion point at the beginning
txtDisplay.SelStart = 0
' find the length of t... -
Posted by Dipti22 on 26 May 2005
Hello all
I am doing my project in asp.net . when a page gets loaded at that time i dont want a image control lie beside the taxtbox. but whenever a textbox got the focus , the image control... -
Posted by Col on 16 May 2005
Hi, sorry but Newbie here,
From an excel workbook I want to display the data from cell A1 & B1 next to each other in a textbox in my Visual Basic 6 project. The... -
Posted by johnm on 27 Nov 2004
I have hit a dead stop.
(although while typing this I thought of a book and now about something which I guess will be called en_vscroll)
I'm still asking though because this may not be the answe...
|