TextBox and RichTextBox in VB.Net

saniyasaher 400 views 9 slides Feb 17, 2020
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

In VB.Net, TextBox and RichTextBox are two different tools.This presentation will explain some of the events, properties and methods of TextBox and RichTextBox of VB.Net in simple language for the beginners


Slide Content

T ext B ox & R ich T ext B ox Topic Presented by Name : Saniya Saher Class : B.Sc. III (Semester VI) Batch : CMP Control Control

Syntax & Example Methods Properties or Attribute s TEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered

Syntax & Example Methods TEXTBOX CONTROL Properties or Attribute s TextAlign alignment of text : Right, left, centre Locked Whether a user can enter a value or change the default value Maxlength Maximum no. of characters that textbox will accept Multiline More than single line PasswordChar A ny character appear in place of text ScrollBars None, Horizontal, Vertical, Both Text Initial text (default value ) WordWrap Multiline text box wraps the text

Syntax & Example Properties or Attribute s TEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered Methods

Methods Properties or Attribute s TEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered Syntax & Example

Syntax & Example Methods Properties or Attribute s RICHTEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered

Syntax & Example Methods TEXTBOX CONTROL Properties or Attribute s TextAlign alignment of text : Right, left, centre Locked Whether a user can enter a value or change the default value Maxlength Maximum no. of characters that textbox will accept Multiline More than single line PasswordChar A ny character appear in place of text ScrollBars None, Horizontal, Vertical, Both Text Initial text (default value ) WordWrap Multiline text box wraps the text

Syntax & Example Properties or Attribute s TEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered Methods

Methods Properties or Attribute s TEXTBOX CONTROL It is a standard control for accepting i /p as well as to display the o/p It can handle string (text) and numeric data but not images By default , 2048 characters can be entered Syntax & Example