Consultor Eletrônico



Kbase P19415: How to determine if a toggle-box is checked?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

How to determine if a toggle-box is checked?

FIX:

Use the CHECKED attribute to determine whether the toggle-box is checked. For example ...


IF TOGGLE-1:CHECKED = TRUE THEN
MESSAGE "Toggle-Box TOGGLE-1 Has Been Turned On By The User" VIEW-AS ALERT-BOX.
ELSE
MESSAGE "Toggle-Box TOGGLE-1 Has Been Turned Off By The User" VIEW-AS ALERT-BOX.