Question
Visual Basic Power controls This lab has you setting controls via the property window and by code. Create a project called powerControls. Name the form
Visual Basic
Power controls
This lab has you setting controls via the property window and by code.
Create a project called powerControls.
Name the form exampleControls.vb
Find and icon: search the internet or your hard drive for ico files and use one. Add it your My Project folder. Set the form icon property to your icon.
Create a group box titled grpLabelTextbox and set the text property to Explore Labels and Textboxes
From the properties set the backcolor to White
Use code to set the backColor
grpLabelTextbox.BackColor = Color.LightGreen
Create a button called btnChangeStuff
Use this to implement the code request for grpLabelTextbox
When the button is clicked you will write code to change properties of the groupbox, label, textbox and
Set the following property
Text to Press
For the button use code to change
Visible to false
Create a label called lblDisplayStuff
Set the following properties
text to of the Display changes
backcolor to GreyText
FlatStyle to Flat
Use code to change lblDisplayStuff
Text to changes made
.FlatStyle = FlatStyle.Standard
Backcolor to a blue color
ForeColor to Color.Blue
Create a textbox called txtDisplayStuff
Set the following properties
Text to displaying stuff
Size width to 200 and height to 40
textAlign to right
ReadOnly to True
Use code to change txtDisplayStuff
ReadOnly = False
TextAlign = HorizontalAlignment.Center
Multiline = True
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started