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

    Rubberband effect (VBA in Acc2003)

    Does anyone know if there is a VBA equivalent to the VB.Net function called DrawReversibleLine? I want to implement exactly what is shown at http://www.vb-helper.com/howto_net_reversible_line.html , except in VBA hosted by Access 2003.

    If no equivalent, can anyone suggest an alternative method -- what I want is to draw an onscreen line anchored at a known point to the current mouse location. The line should "rubberband" as the mouse is moved.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

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

    Re: Rubberband effect (VBA in Acc2003)

    I think it'll be difficult as Access forms don't have a drawing mode property that can be set to Invert or something like that.

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Rubberband effect (VBA in Acc2003)

    That is one of the differences between managed code and VBA, I'm afraid. You can't do many things in VBA that are a snap in .Net. <img src=/S/sorry.gif border=0 alt=sorry width=15 height=15>
    Charlotte

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

    Re: Rubberband effect (VBA in Acc2003)

    Thanks Hans and Charlotte for the info.
    --------------------------------------------------
    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
  •