![]() Finally, clicking the Clear button will cause all text to be cleared and the color and case to be restored to the default. Clicking the Lowercase button will convert the text to all lowercase, and clicking on the Red or Blue buttons will cause the text to change color. Then click the Uppercase button to make the text all uppercase as shown in Figure 6-14. Run the project and enter some text into the box in a mixture of lowercase and uppercase. Private Sub tbrLowerCase_Click(ByVal sender As Object, _īyVal e As System.EventArgs) Handles tbrLowerCase.Clickġ1. Add the following code to the Click event handler: ![]() Now select tbrLowerCase in the Class Name combo box and the Click event in the Method Name combo box. StatusText = “The text is all lowercase” End Subġ0. Now add the following procedure to change the text to all lowercase: ![]() Private Sub tbrUpperCase_Click(ByVal sender As Object, _īyVal e As System.EventArgs) Handles tbrUpperCase.Clickĩ. Add the following highlighted code to the Click event handler: Now select tbrUpperCas e in the Class Name combo box and the Click event in the Method Name combo box.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |