About Object Handling

An object is a reusable block of code. You can write code that instantiates an object or that does something. Each software application includes a set of properties and methods that modify the characteristics of an object.

A property affects how an object behaves. For example:

  • Width is a property of a range of cells in a spreadsheet.

  • Color is a property of a graph.

  • Margin is a property of a word processing document.

A method causes an application to perform an action on an object. For example:

  • Calculate for a spreadsheet

  • Snap to Grid for a graph

  • Auto-Save for a document

You can write Siebel VB that accesses a Siebel object and that modifies the properties and methods of this object. To access an object that is part of the Siebel application, you can run Siebel VB code that is external to the Siebel application.

To use a non-Siebel object in Siebel VB code, you must first assign it to an object variable. Assigning it instantiates it. To manipulate the object, you then reference the object name with or without properties and methods.