what is the difference between name property and caption
property in visual basic?
Answers were Sorted based on User's Feedback
Answer / pradeep kushwaha
caption property used for showing the lable of the control
and the name property is used as a identity of control in a
programm.name property is participate in process of excute
to event of specific control in a program
| Is This Answer Correct ? | 45 Yes | 13 No |
Answer / shreya sondur
name property is used to identify the objects or controls
placed on the form and the caption property is used to
display some label on that control.
| Is This Answer Correct ? | 39 Yes | 9 No |
Answer / pratibha soni
caption property is used for showing lable of control to user...and name property is used for system for identify the control.
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / bhart
name property tells about the form name with vich it is stored under the current project...where as cation is used for the the form vich is in front of us on vich we r working on...
| Is This Answer Correct ? | 28 Yes | 15 No |
Answer / yuvaraja sengodan
Main difference between 'Name' property and 'Caption'
property is, the 'Name' property value can not be changed
at run-time and the 'Caption' property value can be changed
at run-time.
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / vamshi
caption of a control is the one which is displayed on the
control but name is the property by which events of that
control can be called in coding window
| Is This Answer Correct ? | 13 Yes | 7 No |
Answer / sarhang
Answer 1: Name property tells about the visual basic tool used while caption property display the user input type/name.
Answer 2: Name property tells about the form name with vich it is stored under the current project…where as cation is used for the the form vich is in front of us on vich we r working on…
Answer 3: Caption property used for showing the lable of the control and the name property is used as a identity of control in a programm.name property is participate in process of excute to event of specific control in a program
Answer 4: Name property is used to identify the objects or controls placed on the form and the caption property is used to display some label on that control.
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / saurav
'Name' property tells about the form name while
'Caption' property display the user input type.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rohit parbat
in the name : you. Give the name that thode you.use In the project at the time of coding of project.
and caption is use for the display the use text .
like label having name and cation property .
you use the caption is user name.
and name is uname.
than caption is name is display the user name for . label and name this property is use like .
uname.caption="this label"
by using this code use chand the label text.
| Is This Answer Correct ? | 3 Yes | 5 No |
What do you mean by provider?
How would you attach pictures in Treeview Control?
What are the different compatibility types when we create a COM component?
___ property is used to change to ___ value to access a identity column'in datacontrols.
What is "Reserved Error -1209"?
How to change the Mouse Pointer?
Explain the usage of Web Browser Control?
What are the different cursor types that can we create using ADO Recordset? Difference between these cursor types?
which property of menu cannot be set at run time.
what is a property to resize a label control according to your caption?
Whether HTML supports multimedia: and document links?
What is difference between procedural prog. Language
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)