#879 – Positioning a Popup Relative to the Mouse

You can use the Placement property of a Popup to indicate how the popup should be positioned relative to the current mouse pointer.  You can use one of the values listed below for the Placement property.

Note that there are other possible values for the Placement property.  The subset listed below are the ones used to position the popup relative to the mouse pointer.

  • Mouse – Top left corner of popup lines up with the bottom left corner of the rectangle surrounding the mouse pointer

879-001

  • MousePoint – Top left corner of popup lines up with the actual mouse pointing position (the upper left corner of the pointer)

879-002

 

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #879 – Positioning a Popup Relative to the Mouse

  1. Pingback: Dew Drop – August 6, 2013 (#1,600) | Alvin Ashcraft's Morning Dew

Leave a comment