wpIsObjectInitialized - Remarks

This method is useful in other methods whose processing may differ depending on whether the object is in the process of being created or has completed creation. Setting the object's state to initialized is one of the final steps of object creation during move, copy, and create operations.

Certain methods, such as wpSaveDeferred and wpSaveImmediate, are only valid on initialized objects.

wpIsObjectInitialized can be used within wpSetup to determine if wpSetup is being called during object creation (wpIsObjectInitialized returns FALSE) or after the object has been created, for example from WinSetObjectData (wpIsObjectInitialized returns TRUE).


[Back: wpIsObjectInitialized - Parameters]
[Next: wpIsObjectInitialized - How to Override]