Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can i move one image in form at run time ?
Message
From
05/07/2002 06:47:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/07/2002 05:04:08
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00675534
Message ID:
00675552
Views:
8
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>I have one image in my form .
>I want users , can move this image in form at run time .
>It´s possible ? How ?
>
>Thanks .

You might make this smoother :
*Image.Mousedown
Lparameters nButton, nShift, nXCoord, nYCoord
If nButton=1
  Do while mdown()
    lnNewY = mrow(wontop(),3)
    lnNewX = mcol(wontop(),3)
    With this
      .Move(.Left + (lnNewX - nXCoord), .Top + (lnNewY - nYCoord))
    Endwith
    nXCoord = lnNewX
    nYCoord = lnNewY
  Enddo
Endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform