Draw in a Panel and Scroll around it with the Mouse

Ok, so I've been bored and needed something to program so I opted with making a single player RPG creator, for this I decided to use a Panel for the screen and then Paint in what I want for maps (importing images using paint) but I want the maps to be bigger
than the Panel and I want to have the mouse (for now so I can have some understanding of that) scroll around the map, basically have it further than half way down on the panel and it scrolls down, but I don't want any clicking or MouseWheel use needed or used,
I just want it to follow where the mouse is.
Long story short, I have a panel, I put the mouse further than halfway, the panel scrolls down or wherever the mouse is pointing.

Hi,
Test Tools in Visual Studio 2010 and 2012 forum is to discuss visual studio test issues. Based on your description, your issue seems to be more related to programming. If this is the case, I recommend you to consult your issue on some
development forums such as Visual Studio Language Forums:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages,
Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsformsor
WPF forum:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpffor better support.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • HT4718 re magic mouse,it seems that when i put my mac air to sleep with my magic mouse left on and wake my computer with the mouse the wi-fi does not connect. but if I put the mac to sleep and then turn off the mouse and wake the computer wifi connects wh

    Re: magic mouse
    I use Mavericks and I notice that when I put my mac to sleep and have my magic mouse on and when i go to wake the computer up with the mouse on my wi-fi will not connect?
    Put if i shut off the magic mouse and put the computer to sleep and turn my mouse back on and wake the computer up the wi-fi connects, this is a bit strange. This there anyone out there with same problem? is this a Mavericks thing that is not working with the apple magic mouse?
    Interested in hearing from you.
    Thanks

    Mr. iPadfan wrote:
    ... does my iMac model... support Hibernatemode 3 alias "Safe Sleep" to protect my Mac against damages due to power outage?
    You can set hibernate mode to 3, but it seems to me its only benefit could be if power were to be lost after the iMac was already sleeping. Sleepimage is written to disk prior to system sleep. If your iMac lost power while it was "awake" you would certainly lose any unsaved work no matter what hibernate mode you choose.
    The problem is that an iMac without power no longer sleeps, it's dead. Upon restoring power you need to cold boot, and I seriously doubt sleepimage can be forced to load in that event. Sleepimage is loaded upon wake from "safe sleep", not from boot as far as I know.
    It is simple enough for you to try, so go ahead and see if it does what you want. Other than creating a 16 GB sleepimage file it did not appear to do anything beneficial on the iMac I am using though (a later model).
    The file location is /private/var/vm/sleepimage
    Configure hibernatemode, verify the file is created, do some work on your Mac, don't save it to disk (and don't use Pages or similar app that saves work on its own), let it sleep, then pull the plug. I think you will see what I mean.

  • How do I prevent tab focus from changing when I scroll tabs with the mouse wheel? [SOLVED]

    Whenever I scroll my tabs with the mouse scroll wheel the tab focus changes from the page I'm currently on to the tab being scrolled to. I usually have a large list of tabs open and I depend on being able to scroll tabs without changing page focus to keep myself organized.
    Also, I'd like to disable tab scroll wrapping; Once I've scrolled my tabs to the end I'd like it to stop scrolling, not wrap around to the start of my tabs.
    Is there a way to disable these features and revert to the tab scrolling behaviour of a previous version of Firefox?

    This is not a standard feature and can be caused by an extension.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Interactive Form jumps back to the cursor when scrolling with the mouse

    In an interactive form over multiple pages, the user should enter some fields and will then scroll down - usually with the mouse's scrollwheel. As long as the cursor is in an active field, adobe reader keeps jumping back to the place the cursor is active... So it is not possible to scroll down.
    Scrolling down by sidebar works fine.
    As a workaround, I can place the cursor outside of any entry field (just by klicking any text within the form) and scrolling down works fine again.
    I guess this is a "feature" and not a bug - but it is driving our users crazy!
    Any suggestions or ideas about how I could get scrolling to work will be highly appreciated.
    Adobe Livecycle Designer ES 8.1.2
    Adobe Reader 9.4.0

    Hi Nicolas,
    I am using 8.2.3 ADLC with 9.X reader (for sure this may not be any version dependent as such)
    I didn't find any such behavior, and I never heard about it earlier.
    Some how I feel this is not a feature nor bug in adobe, its something with your form. may be there is a set focus cdoe somewhere or so.
    can you send me the form to test it in my local pc ...?
    cheers,
    Sai

  • I have inserted a mini cd in my Mac Book Pro and cannot eject it. I have tried re-starting with F12 depressed and re-starting with the mouse pad depressed.

    I have inserted a mini cd in my cd drive but the drive did not detect it; I am unable to eject the cd. I have tried re-starting with F12 depressed and also re-starting with the mouse pad depressed.
    I am in a country where I belive there is no Apple support - Azerbaijan.
    Apart from a tin opener, any other methods for extracting the mini cd.
    I only found out that mini cds are not suitable after inserting this one and then reading 2 help manuals!!!

    Take it to a place that repairs computers if you're not close to any apple authorized dealer.
    You user guide clearly states that you can not use smaller CDs in your Macbook.
    Lesson learned.  Hopefully a repair shop can get it out for you.
    Do not try to take it out yourself.  You might cause more damage than good to your macbook.
    Good luck.

  • Will the full version of adobe allow you to review and scroll 2 documents at the same time?

    will the full version of adobe allow you to review and scroll 2 documents at the same time?

    Sorry, I do not understand what you mean by "the full version of adobe".  Do you mean Acrobat?
    I am also not clear what you mean by "review and scroll 2 documents at the same time"; please clarify.  Adobe Reader (and Acrobat) lets you open as many documents as you want, but if you press Page Down/Page Up on one document, it will not perform that action on the other documents at the same time.

  • Been using LR since 2004. My raws are all of sudden jumping around in Develop module. Image does not stay, it goes forward and backwards randomly, even with magic mouse off. Can't edit. Using MacPro, currently everything. Canon 5dmk3 raws

    Been using LR since 2004. My raws are all of sudden jumping around in Develop module. Image does not stay, it goes forward and backwards randomly, even with magic mouse off. Can't edit. Using MacPro, currently everything. Canon 5dmk3 raws

    This sounds like a hardware issue. I haven't seen this particular problem reported before.

  • Drawning text/images in a JPanel and then resizing/moving it with the mouse

    Hello ebverybody!
    I need to be able to draw some text objects in a JPanel and then resize/move it with the mouse... How could I do that!? Same for some images loaded from jpg files...
    Should I just paint the text and then repaint when the mouse selects it? How to do this selection?! Or should use something like a jLabel and then change it`s font metrics?!
    I need to keep track of the upper left corner of the text/image, as well as the width/height of it. This will be recorded in a file.
    The text/images need to smoothly move around the panel as the mouse drags when selectin an entity.. not just "click the entity, then click another point and the entity appears there as if by magic...":)
    Please, tell the best way to do that!
    Thanks everybody!
    Message was edited by:
    cassio.marques

    I know what you mean! This happened to me as well!
    And one thing that I found useful is, if you want to directly select a layer without selecting from the layers pallete and without having autoselect enabled, just hold Ctrl and click on in directly in the image. This saved me a lot of time!

  • I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • I am having a lot of trouble downloading itunes.My latest error message is that MediaToolbox.dll is missing. I have been trying to fix this for three days now .And it all started with the last update .Can anyone help?

    I am having a lot of trouble downloading itunes.My latest error message is that MediaToolbox.dll is missing. I have been trying to fix this for three days now .And it all started with the last update .Can anyone help?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • All of a sudden my diplay appears to be larger than the screen. The display scrolls with the mouse. How to correct?

    My screen scrolls with the mouse to show the entire display. Looks like the display is larger than the monitor. Have no idea what teh cause ws but have been unable to correct. Any suggestions?

    Went to universal access, turned off zoom and it corrected the problem.
    Thank you.

  • Why can I no longer scroll with the mouse when using Pages?

    A few days ago, I realized that I am unable to scroll within a Pages document with the mouse.  The scroll bar is not there.  The scroll feature works fine, and after trying to figure this out myself with no success, I thought I'd ask here.  I have Pages '09 and I'm using OS X 10.9.5.

    Thanks.  That's not the problem.  Scrolling works in everything else except Pages.  I used to be able to scroll just by using my finger up or down on the mouse.  Now, I can't do that.  I tried setting the scroll bars to "Always", but then I have to physically click on the scroll bar and move it up and down.  Not like it's that much hassle, lol, but I got used to just scrolling with my finger on the mouse.

  • Scroll down with the mouse while the crop tool window is open

    I would like to know if there is a way to scroll down with the mouse while the crop tool window is open, like in Acrobat 5.0. If not with the mouse, is there another shortcut to go through the pages and adjust the size of the crop and see it on different pages? Thanks!

    Yes, but I won't see what I'm cropping if I cannot scroll down while the window is open. Thank you for answering anyway!

  • When I select a single object in a layer and try to move it with the mouse, everything goes with...

    I've been having this problem where I can't use the move tool with the mouse properly. I'll go and select a single item on a layer and then try to move it with the mouse (move tool). I've done this before and still do it all the time on Photoshop on my other machines. However, on my laptop it won't work. I grab the single object I want to move and the second I move it, it defaults to moving every single layer in my file. The only way to get around it is to use the arrows, but that's becoming laborious and frustrating.
    Any ideas?

    I know what you mean! This happened to me as well!
    And one thing that I found useful is, if you want to directly select a layer without selecting from the layers pallete and without having autoselect enabled, just hold Ctrl and click on in directly in the image. This saved me a lot of time!

  • After installing acrobat my Microsoft office package does not work properly, word will not open and in my email i can't select anything with the mouse

    After installing acrobat my Microsoft office package does not work properly, word will not open and when I want to write an email in my outlook email i can't select anything with the mouse. so copy past en delete are not an option.@

    Are you using any MS Office third party Add-ins? Test:  Remove third party Add-ins other than PDFMaker.  Test to see if the MS Office apps run afterward.
    Did you attempt to repair MS Office?  Test:  Go to Add/Remove Control Panel run Repair.
    Finally, have you tried testing to see if it's PDFMaker?  Test: Use the Add/Remove Control Panel to modify the Acrobat installation to remove PDFMaker.  See if MS Office applications launch and behave correctly?

Maybe you are looking for