VALIDATE Action

This document covers the following topics:


Description

Validates a handle variable. A handle variable is considered valid if it contains either the value NULL-HANDLE or a handle to an existing dialog or dialog element.

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Any dialog or dialog element.

Response (I4) Output

Natural error (if applicable), or 0 if handle variable is valid.

Example:

PROCESS GUI ACTION VALIDATE WITH #PB-1 
GIVING #RESPONSE