Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Fire event when Resize is finished (A2003)

    Is there a way to fire an event when Resize (with mouse) is completed? The resize event fires continually -- I just want to detect when the user releases the mouse when s/he is finished resizing the form. Tried setting a module-level variable and using the MouseUp event, but I could not get the MouseUp event to fire at all! Must be overlooking something...

    Thanks.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Fire event when Resize is finished (A2003)

    The MouseUp event only occurs when you click in the Record Selector, or in the space between the detail section and the form footer (if present). It does *not* occur while resizing the form.

    I don't think there is an easy way to detect when the user stops resizing - you'll have to use the Resize event and accept that it'll fire continually while the user is resizing the form.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Fire event when Resize is finished (A2003)

    Thanks for the info about MouseUp.

    Turns out that resizing the controls every time the Resize event fires is not a drain on performance. I thought it would have been slow, but it works just fine on my form.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •