cancel
Showing results for 
Search instead for 
Did you mean: 

Disable applets

Former Member
0 Kudos

Hello World,

I want to disable an applet after the user made some choice.

Something like

iBrowserObject.disabled=true

Is there anyway?

Thank you very much

Ralf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Try this:

document.iBrowserAPP.getBrowserObject().getTreeObject().setEnabled(false);

or

document.iBrowserAPP.getBrowserObject().removeAll();

Former Member
0 Kudos

Thanks,

document.iBrowserAPP.getBrowserObject().getTreeObject().setEnabled(false);

solved my Problem.

Greetings from Germany.

Ralf

jcgood25
Active Contributor
0 Kudos

Please be advised that the .getTreeObject() method in not documented and also not supported. Due to some applet redesign, it is very likely that this will not work beyound the 11.5 or 12.0 versions of MII.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ralf,

Try this:

document.iBrowser.style.display = "none";

Regards,

Anil

Former Member
0 Kudos

Hi Anil,

thanks for your answer, but your solution will hide the applet.

I want the user to see the applet but he should not be able to click the applet.

Thank you for any further help.

Ralf

agentry_src
Active Contributor
0 Kudos

How about ".setSelectionEventEnabled(false)"?