home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _945176C948514A57B2FC043B0A97CFBB < prev    next >
Text File  |  2003-03-07  |  2KB  |  26 lines

  1. Event
  2.  
  3. Each object within an object model is defined by a property, method, event, or a combination of each. An event is a noun, and acts as something that takes place in an object. You write code for an object to respond to the act. Events are triggered by an action, such as a click, key press, or system timer.
  4.  
  5. Event-driven programming
  6.  
  7. Visual Basic for Applications is an event-driven programming language. Most of the code you create is written to respond to an event. Each object within an object model is defined by a property, method, event, or a combination of each. An event is a noun, and acts as something that takes place in an object. You write code for an object to respond to the act. Events are triggered by an action, such as a click, key press, or system timer. Unlike traditional procedural programming, in which the program starts at line 1 and executes line by line, event-driven programming executes code in response to events. 
  8.  
  9. Variant
  10.  
  11. The Variant data type is the data type for all variables that are not declared as another type such as Dim, Private, Public, or Static. The Variant data type has no type-declaration character.
  12.  
  13. Object-oriented programming
  14.  
  15. A style of programming that places emphasis on creating and using objects.
  16.  
  17. Object model
  18.  
  19. An object model represents the hierarchy of objects within an application and their relationship to each other within the paradigm. 
  20.  
  21. For example, the Document object represents the beginning of the object hierarchy in WordPerfect. Starting with the Document object, you drill down and navigate through the object model until you find the desired object. To reference an object with Visual Basic code, you separate each level of the object hierarchy with the dot operator (.).
  22.  
  23.  
  24.  
  25.  
  26.