| | |
how to drag and move image
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
HI,
You can place the picture in any of the controls like picturebox, imagebox,command button,
to move the control you have to change the position of that control(Top and Left values of the Control)
If you looking for drag and drop ten you have to read the mouse coardinates.
for right accuracy on placing the control in a position calculate the centre point of the control from the Top and left values of that control.
Hope this will help you,
If you need code help contact me...
With regards,
Venkatramasamy SN
You can place the picture in any of the controls like picturebox, imagebox,command button,
to move the control you have to change the position of that control(Top and Left values of the Control)
If you looking for drag and drop ten you have to read the mouse coardinates.
for right accuracy on placing the control in a position calculate the centre point of the control from the Top and left values of that control.
Hope this will help you,
If you need code help contact me...
With regards,
Venkatramasamy SN
![]() |
Similar Threads
- Tutorial: Photoshop: create an interface style content box (Graphics and Multimedia)
- Tutorial: Photoshop: add a white photo frame to your images (Graphics and Multimedia)
- can't open .jpg files from the desktop (Windows NT / 2000 / XP)
- Page take long time to load (HTML and CSS)
- Small problem face me (C#)
- Tutorial: Photoshop: create a transparent navigation bar (Graphics and Multimedia)
- I got a note while compiling java program-"java uses or overrides a deprecated API" (Java)
- Java Applet [Move Image] (Java)
- Help modify some JavaScript/HTML (JavaScript / DHTML / AJAX)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: it posible to change the skin of the form??
- Next Thread: how to insert records into a table using datacontrol
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





