TTIsActionEnabled (open)
Test is an action is enabled wrt current selection and flags
Syntax
LOADLIB "mod::tollium/lib/testframework.whlib";
BOOLEAN FUNCTION TTIsActionEnabled(STRING compname, RECORD options)Parameters
STRING compnameComponent name
RECORD optionsOptions
BOOLEAN allowmissingJust return DEFAULT OBJECT if the last component in the path does not exist
BOOLEAN chaseactionBOOLEAN findinvisibleAllow finding invisible components
BOOLEAN menuitemInterpret the last item from the path as a menu item
Return value
BOOLEANTRUE if the action is enabled