Key TrappingActivityKey TrappingObjectives:        At the end of the lesson, you should be able to:Trap inputs for a textbox (such as letters, numbers and other keys or symbols).Use and apply input mask for a MaskedTextBox.Use a combobox.Use a listbox.Differentiate combobox from listbox.Use a radio button.Differentiate radio button from checkbox.Use DateTime Picker to display the current date and time.Use DateTime Picker to automatically compute age.1. Draw an interface like this. (Note: Don’t mind the text of the textboxes and listbox yet, these will be done with the next steps – setting properties)[pic 1]                                [pic 2]

2. Set the control’s names in the properties window as follows. Name the form frmInputValidation.[pic 3][pic 4]3. Set the following additional properties for each control:Control/ObjectPropertyValuefrmInputValidationTextInput ValidationControlBoxFalseStartPositionCenterScreenFormBorderStyleFixedDialogtxtStudIDTextNoneMask00-00000txtFNameTextNoneCharacterCasingUppertxtMNameTextNoneCharacterCasingUppertxtLNameTextNoneCharacterCasingUpperlstCollegeItemsClick the ellipsis then type the following:Choose a CollegeCICSCPADCOECITCVMcbCourseItemsClick the ellipsis then type the following:BSITBSCSABPABSECEBSINTECHABPolSciBSMathdtBDayCustomFormatMM-dd-yyyytxtAgeTextNoneReadOnlyTruetxtHeightTextNoneMask0.00lblDateTimeTextNonebtnClearText&CLEARbtnCloseTextC&LOSErbMaleTextMalerbFemaleTextFemalegbGenderTextGender

1. Set to the control values for each control in the same set; for each control, set the following properties:Control/SystemParametersNamenameControlTypeNameControlNamePropertyName$TextTypeName{DisplayForm1}NameNameControlPropertyName$TextTypeName=$Form1name[PID].#0005 NameControlValueTypeNameControlValueValueValueTypeNameControlValuePropertyName$ScreenNameStyleControl{$LineStyleControl}$TextStyleControl$TextStyleControl$TitleStyleControl#0033 NameControlActionNameControl ActionNameControlActionValueActionValueAction ValueValueActionStyleControl#0033#0000 NameControlActionNameAction ActionNameActionValueActionValueAction ValueValueActionStyleControl#3040 NameControlActionValueActionValueActionValueActionValueAction ValueActionStyleControl#3040#0000 NameControlActionValueActionValueActionValueActionValueActionValueValue ActionValueStyleControl#3040#0000 NameControlValueActionValueActionValueActionValueActionValueActionValueActionValue ActionValueStyleControl#0036 NameControlActionValueActionValueActionValueActionValueActionValueActionValueActionValueActionValueActionValueAction ValueStyleControl#3040#0000 NameControlValueActionValueActionValueActionValueActionValueActionValueRange$X$TextStyleStyleStyleStringsActionValueRange$X$TextStyleStringsValueStyleStringsActionValueStyleStrings&#0031:
$TextStyleStyleStyleStringsActionValueValueStyleStringsStyle StringsStyleTextStyle StyleValues=\?[\mf].\s+(\d+)/[^(+)/i*32 &=[\d+/d+]*20&#0031:
$FileViewStyleTextStyleTextStyleTextStyle TextStyleTextStyleText StyleValues=\?[\mf].\s+(\d+)/[^(+)/i*32 &=[\d+/d+]*20&#0031:
$StyleValues=”$LineStyleStyleStringsStyleTextStyle TextStyleTextStyleText%”,@\${\”table-size\”:\”in:1,\”id\”:\’B2F54C0-6B54-44E6-A8D5-F20C7C5D8EA8F1\”}\”},type=\”table\”,rows=6}”,”is_trackable”:false}], “$:/core/images/titles/$(function(){}})::[function(t,e,n,r,s,u){“use strict”;var a=getJSONObject($e);(a[“tiddler”]+”tiddler”);a[“button”]&&==$(a[“tiddler”]?null):!1);return a[“button”]

Get Your Essay

Cite this page

Control’S Names And Trap Inputs. (August 21, 2021). Retrieved from https://www.freeessays.education/controls-names-and-trap-inputs-essay/