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 compname

Component name

RECORD options

Options

BOOLEAN allowmissing

Just return DEFAULT OBJECT if the last component in the path does not exist

BOOLEAN chaseaction
BOOLEAN findinvisible

Allow finding invisible components

BOOLEAN menuitem

Interpret the last item from the path as a menu item

Return value

BOOLEAN

TRUE if the action is enabled