![]() There are mainly two categories of methods you will use in your classes − Methods are used to access or manipulate the characteristics of an object or a variable. Control MethodsĪ method is a procedure created as a member of a class and they cause an object to do something. You can refer to Microsoft documentation for a complete list of properties associated with different controls and restrictions applied to them. Most of the properties can be set or read during application execution. You can set any of the form properties using Properties Window. ![]() Property is the characteristic you want to change. Object is the name of the object you're customizing. Properties can be set at design time by using the Properties window or at run time by using statements in the program code. A property is a value or characteristic held by a Visual Basic object, such as Caption or Fore Color. Methods cause an object to do something andĮvents are what happens when an object does something.Īll the Visual Basic Objects can be moved, resized or customized by setting their properties. Every Visual Basic control consists of three important elements − In fact, in Visual Basic, the form itself is an object. An object is a type of user interface element you create on a Visual Basic form by using a toolbox control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |