BUS4 092 Lecture Notes - Lecture 3: Type Conversion, Binary Operation, Access Key

30 views10 pages
21 Mar 2018
School
Department
Course
Professor

Document Summary

Summary so far: we have learned how to create simple applications using vb. We have learned how to set/change properties of controls using properties box. We have learned what events are and how to define them. Remember, we can access or set a value of any control either visually in the properties window or using code in the vb program editor. You can set the property of the control by this general statement: (cid:272)o(cid:374)trolna(cid:373)e. (cid:272)o(cid:374)trolpropert(cid:455) = (cid:862)(cid:272)o(cid:374)trol value(cid:863) e. g. l(cid:271)lmessage. te(cid:454)t=(cid:863)hello world(cid:863) or l(cid:271)lresults. te(cid:454)t=(cid:1010) Text box has properties similar to that of a label e. g. text, alignment, enabled, visible etc. You can use them to display output, but it is not advisable. The use of controls should be guided by the purpose of the application. For example in the image below, a text box is used for displaying as well as getting inputs from the user: working with text boxes, accessing methods associated with controls.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents