Receiving a broadcast when hovering over buttons

From Planimate Knowledge Base
Jump to navigation Jump to search

Paint button objects have a "Hover Broadcast" menu option.

If this is set, the named broadcast will be sent to the dynamic scope of the button whenever the mouse hovers in or out of the button. The broadcast includes an attribute called "_state" which will be upled into an item attribute if the broadcast item has an attribute with that name defined.

The broadcast is sent in "Background Mode" meaning the system does not reflect going from "Ready" to "Run" mode. This is done to reduce flicker. Its very important to do as little processing on this broadcast as possible as it will impact the resonsiveness of the system.

Also note that this broadcast wll only work if the button is in an Application Panel or Dynamic Panel. Within this panel the option must be set - 'Send Portal Hover Broadcasts'.

idkbase note 112