# IE activex Questions

**URL:** <https://forum.inductiveautomation.com/t/ie-activex-questions/3043>\
**Category:** Ignition\
**Created:** [June 28, 2011, 3:46pm UTC](https://forum.inductiveautomation.com/t/ie-activex-questions/3043 "2011-06-28T15:46:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarlaxel](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jarlaxel](https://forum.inductiveautomation.com/u/jarlaxel)\
**Post date:** [June 28, 2011, 3:46pm UTC](https://forum.inductiveautomation.com/t/ie-activex-questions/3043/1 "2011-06-28T15:46:16Z")

</div>

I have added an IE activex Control in one of my windows. I am wondering if there is a way to add a refresh botton to the screen and a status bar to show the page loading… any help would be appreciated  
Thanks

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [June 28, 2011, 4:13pm UTC](https://forum.inductiveautomation.com/t/ie-activex-questions/3043/2 "2011-06-28T16:13:11Z")

</div>

You can add a button next to the IE component that has the following actionPerformed event handler:`comp = event.source.parent.getComponent('Internet Explorer Viewer')
comp.invokeFunction("Refresh", [])`Displaying a progress bar when the page is loading ia bit tricky. First add the Progress Bar to the window and set the Indeterminate property to True. Next, add a Timer component to the window and put the following script on the propertyChange event handler:`if event.propertyName == "value":
	comp = event.source.parent.getComponent('Internet Explorer Viewer')
	state = str(comp.getProperty("ReadyState", []))
	if state != "4":
		event.source.parent.getComponent('Progress Bar').visible = 1
	else:
		event.source.parent.getComponent('Progress Bar').visible = 0`Of course set the Running property of the Timer to True as well. Hope this helps.
