Change Event
Object List Next Object
Defined By: Label
Description:
Indicates that the contents of a label have changed and initiates some action
based on the change.
Usage:
Sub Change
Details:
The Label's change event occurs when you change the Caption property from
code, or as a result of a DDE (Dynamic Data Exchange) operation.
A Change procedure can be useful for coordinating data display among controls.
For example, you could use a Change procedure to display an image in one area
and information and other data relating to the image in another area on the
same form.
Note: A cascading or circular event can sometimes occur when using the Change
event. This is especially true in situations where the control's Change event
affects the control's contents. Avoid this situation if possible. Also, avoid making
Change procedures of two or more controls that directly affect each other.
See Also:
KeyDown, KeyUp, KeyPress events; LostFocus event