AddRadioCallback

Used to respond to changes in Binary fields with the "Radio buttons" style. All other fields and controls should use AddChangeCallback instead.

Note: AddChangeCallback also works for Binary fields with the "Radio buttons" style, because these calls are automatically redirected to AddRadioCallback.

Parameters

Name Type Description
objname String The name of the field to find.
callback Function The function to be invoked when the radio button is clicked.

Return Value

Result Value
(none)  

Example

This example registers a named function to be called on click:

function customRadioCallback()
{
    RefreshWidget( "DataGrid" );
}

AddRadioCallback("Refresh", customRadioCallback);

Comments

Callbacks are invoked in the order in which they are added.