If Amos Graphics has an open modal dialog that may prevent it from responding correctly to calls to its methods and properties, the CanRespond method returns an explanatory string. Otherwise, it returns an empty string.
Syntax
result=pd.CanRespond (callerDisplaysErrorMessage)
The CanRespond method syntax has the following parts:
Part |
Description |
result |
(String) The empty string ("") if Amos Graphics can respond. Otherwise, a description of the condition that prevents Amos Graphics from responding. |
callerDisplaysErrorMessage |
(boolean) False if you want Amos Graphics to display a message box with a description of any condition that prevents it from responding. True if you want the calling program to assume responsibility for displaying such messages. |
See example.