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
Size: 76.75 KB
Language: en
Added: Feb 17, 2020
Slides: 9 pages
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