Skip to content

Changed_State - cRichEdit

Determines whether the content of the control has changed

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean Changed_State
Access Type Syntax
Read Access: Get Changed_State to BooleanVariable
Write Access: Set Changed_State to BooleanVariable/Value

Description

Changed_State is toggled to True when the content of the control changes.

Sample

This sample checks to see whether the content of the oRichEdit1 control has changed, and if so, displays a message box to the user.

Procedure CheckForChanges
    boolean bChanged

    get Changed_State of oRichEdit1 to bChanged

    if (bChanged = True) ;
        send Info_Box "The content of the control has changed"
End_Procedure  // CheckForChanges