Status bar will not fire onclick events

Nov 16, 2006 5 Replies

I am trying to add an event to an href like:



Status Click Me


but for some reason the onclick event will not fire. I can change it to the ondblclick event and it will fire fine. Does RMS block the onclick event somehow or can other people run this status screen fine and I have some security setting messed up?



Thanks



KB



So nobody in this forum has ever tried to update the html status bar at the top of the screen? I still have not figured out why even the simplest onclick event will not fire script code. Any hint that someone has would be appreciated.

KB

Ken B wrote:

It's been about 2 years since I looked at this, but there is some issue with getting focus on a control in the Status Bar. I really don't remember what it was - I worked around it and naever looked again. It may have something to do with the timer event that runs every second - try turning off the timer function and see if you are then able to click.

Glenn Adams Tiber Creek C> So nobody in this forum has ever tried to update the html status bar at

From the Customization Guide:

Use the HTML status bar at the top of the POS window to display status information about the current transaction. This HTML pane can also display a non-interactive Web page. The HTML status bar can only be used to display information; users cannot interact with the status bar because the transaction grid always has the focus.

Aha, this is just what I needed. It seems that you cannot get OnClick events when the control does not have the focus. The focus is indeed on the line item grid awaiting input.

A workaround is to use onmouseup. Will not work for buttons because the button will not depress like a button but should work OK for links.

Anybody ever try a windows event hook for this?

Jas> From the Customization Guide:

Aha, this is just what I needed. It seems that you cannot get OnClick events when the control does not have the focus. The focus is indeed on the line item grid awaiting input.

A workaround is to use onmouseup. Will not work for buttons because the button will not depress like a button but should work OK for links.

Anybody ever try a windows event hook for this?

Jas> From the Customization Guide:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required