I have a little problem trying to get a little script work.
I have a page on it I have the Process Analyst ActiveX
I have createt a new button on toolbar "my_command1"
But when i run the program and I click on the button nothing happens.
I get no error when compeling.
I have also inplemntet the function "InitProcessAnalyst()" on page shown.
Someone who has any idea what I have done wrong??
Could it be some computer setup??
I have used the following example:
FUNCTION InitProcessAnalyst()
OBJECT hPA = ObjectByName("CPA");
END
FUNCTION CPA_E_CommandExecuted(OBJECT hPA, STRING commandId)
SELECT CASE commandId
CASE "my_command1"
PromptMe(hPA);
END SELECT
END
FUNCTION PromptMe(OBJECT hPA)
Prompt("Hello World!");
END
Thank you
Dariusch
I have a page on it I have the Process Analyst ActiveX
I have createt a new button on toolbar "my_command1"
But when i run the program and I click on the button nothing happens.
I get no error when compeling.
I have also inplemntet the function "InitProcessAnalyst()" on page shown.
Someone who has any idea what I have done wrong??
Could it be some computer setup??
I have used the following example:
FUNCTION InitProcessAnalyst()
OBJECT hPA = ObjectByName("CPA");
END
FUNCTION CPA_E_CommandExecuted(OBJECT hPA, STRING commandId)
SELECT CASE commandId
CASE "my_command1"
PromptMe(hPA);
END SELECT
END
FUNCTION PromptMe(OBJECT hPA)
Prompt("Hello World!");
END
Thank you
Dariusch