dlgitem_remove_callback
dlgitem_remove_callback(window, dlgitem, callback)
Removes callback from the list of functions called when the value of dlgitem within window changes value. If window is invalid or dlgitem does not exist within window, or callback is not on the callback list for the dialog item, $ERROR is set and 0 is returned. If successful, the function returns a one (1).
The window parameter is a window identifier. dlgitem is the value of the control's id attribute. The callback parameter specifies the actual callback to remove.
Example
$ret = dlgitem_remove_callback($win, "TextField",
main::TextFieldCallback)