Position (Bubble property)

From SAP Enable Now Wiki

Scope

Purpose

This property specifies the position of the 'anchor point' of the Bubble relative to either the associated screen control, or the entire screenshot. Clicking on the Edit button to the right of this property displays the following dialog box:

Object Position dialog box



The fields in this dialog box are used as follows:

  • Document (%): Select this option to specify the position of the Bubble anchor point relative to the entire screenshot, and then specify the X and Y fields as follows:
    • X: Specify the percentage of the way along the X axis from leftmost edge of the screenshot at which the Bubble anchor point should be located.
    • Y: Specify the percentage of the way down the Y axis from top edge of the screenshot at which the Bubble anchor point should be located.
  • Element (%): Select this option to specify the position of the Bubble anchor point relative to the screen element (see the Control > Position and Size property) at which the Bubble anchor point should be located, and then specify the X and Y fields as follows:
    • X: Specify the percentage of the way along the X axis from the leftmost edge of the object at which the Bubble anchor point should be located.
    • Y: Specify the percentage of the way down the Y axis from the top edge of the object at which the Bubble anchor point should be located.
    • Offset (px) | X: Specify the number of pixels by which the Bubble anchor point should be shifted (to the right for a positive number, to the left for a negative number) from the initial position specified by the Element (%) X value.
    • Offset (px) | Y: Specify the number of pixels by which the Bubble anchor point should be shifted (down for a positive number, up for a negative number) from the initial position specified by the Element (%) Y value.

You may notice that SAP Enable Now often uses a default offset of 4 or -4. This is because the Highlight has a width of 4px, so offsetting the Bubble anchor point by 4px will ensure that the tip of the bubble pointer is never obscured by the Highlight. In some cases, an offset of 6 or -6 is used. This is to pull the Bubble anchor point slightly inside the element (as opposed to pointing to it's exact corner), to avoid possible confusion when two screen elements are directly next to each other.

See Also