BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

NoToggleToOff Property

See if one of the radio buttons must be always selected.

Type

Boolean (read-only)

Remarks

If NoToggleToOff = True, exactly one radio button shall be selected at all times; selecting the currently selected button has no effect.

If NoToggleToOff = False, clicking the selected button deselects it, leaving no button selected.

Example Usage

Set oDocument = CreateObject("easyPDF.PDFDocument.8")
 
oDocument.Open "c:\test\input.pdf"
Set oFormFields = oDocument.FormFields
 
For Each oFormField In FormFields
    Select Case oFormField.Type
        Case easyPDFDocument.docFormFieldType.DOC_FRMTYPE_RADIO
            Set oRadioField = oFormField
 
            If oRadioField.NoToggleToOff Then
                MsgBox "NoToggleToOff is on"
            Else
                MsgBox "NoToggleToOff is off"
            End If
    End Select
Next oFormField
 
oDocument.Close False