For each of the following controls on the UI for the BMI Calculator app, list on
ID: 3873064 • Letter: F
Question
For each of the following controls on the UI for the BMI Calculator app, list only the properties (at least one and possibly more for each control) and their corresponding values that need to be set at design time to override the default values. (Assume that the location and sizing of the controls is done as the controls are being instantiated by the drag and drop process and is therefore to be considered as establishing default values for those properties.)
heightBox:
Label1:
calcButton:
Explanation / Answer
Name:--This property is used to identify the TextBox(object) by its name.
Font :- The font used to display text in the control(TextBox).
Multiline:-It controls whether the text of the textbox control can span more than one line.by default it is false. If you want to allow multiline text than set it to true.
Name:--This property is used to identify the Label(object) by its name.
Text:- It set the text of the control(Label) which is to be displayed.
Text :- It displays the control's text associated with it.
Name:--This property is used to identify the Button(object) by its name.In this case the name property has been set to calcButton. so the Button object be identify by its name (calcButton)
If we want to change the text property of Button control then we have to write
calcButton.Text = "Calculate";
Location:-- It defines the location (x - coordinate and y- coordinate) of control
UIControl Property heightBox /TextBoxName:--This property is used to identify the TextBox(object) by its name.
Font :- The font used to display text in the control(TextBox).
Multiline:-It controls whether the text of the textbox control can span more than one line.by default it is false. If you want to allow multiline text than set it to true.
Label1(Label Control)Name:--This property is used to identify the Label(object) by its name.
Text:- It set the text of the control(Label) which is to be displayed.
calcButton:(Button Control)Text :- It displays the control's text associated with it.
Name:--This property is used to identify the Button(object) by its name.In this case the name property has been set to calcButton. so the Button object be identify by its name (calcButton)
If we want to change the text property of Button control then we have to write
calcButton.Text = "Calculate";
Location:-- It defines the location (x - coordinate and y- coordinate) of control
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.