Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:Checked ====== Previous pageReturn to chapter overviewNext page

Returns the current display state of a CHECK control–checked (1) or un-checked (''). (READ ONLY). PROP:Checked can also be used with menu items that have the CHECK attribute applied.

Example:

WinView WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL

    CHECK('Check Me'),AT(20,0,20,20),USE(CheckVar)

   END

CODE

OPEN(WinView)

IF ?CheckVar{PROP:Checked} = TRUE  !Is it checked?

 !Do something

END  

ACCEPT

END