On Jan 8, 2007, at 11:23 PM, Robert Livingston wrote:


I have a hard time understanding that the window I am designing (and putting things like StaticText1 inside) is an object class rather than an instance of a window, but perhaps someday it will be second nature for me to understand completely the difference between an instance and a class.


A class is the type, ie., an object type. Sometimes a class is referred to as a "template" or a "cookie cutter". When you are typing in the CodeEditor, you are working in the class. Your application may create any number of objects of a type. These objects are the instances. All of the instances have the properties specified in the class, but each instance can have different values of these properties. All of the instances have the methods specified in the class as well.

-Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to