Question: Post a unique example of code that assigns a property of a control to a value. You may pick any control type, and any property.
Post auniqueexample of code that assigns a property of a control to a value. You may pick any control type, and any property. Addthree comment lines before the line of code 1. to explain what the code is doing and 2. what the property is used for, and 3. state whether that property can be changed using the Design time, Properties window. For example:
'following line assigns thetext property of a label named usernamelbl to a string value 'The text property of a label displays some text on the form 'The text property of a label is available in the properties window during Design time usernamelbl.Text = "Enter your username"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
