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

1 Expert Approved Answer
Step: 1 Unlock

To guide you through the Visual Basic project lets break down the task into steps and explore the requirement to manage control properties in a Window... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!