IsA Method
The IsA method returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by class.
This method has the following syntax:
integer = Object.IsA(class = classname)
This method has the following parameter:
class
Specifies the class name
For example, to find out if a field on a form is an AnalogField object or one of its subclasses (ScrollBarField, BarField, or SliderField object), use the following method call:
if field(fieldname).IsA(class = AnalogField) = TRUE