Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to: Make movable panels in Visual Basic 2008

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,897
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 10, 2010

Video requested by: topvirus2k9 All codes are included inside the video.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (OddMan360)

  • how do you keep it in the same spot as last time, like you shut it down, and it doesnt save the position, can you help me make it save its position?

  • @MinecraftiaVids I'm sure that's easy enough. Try inputting 2 integer values in settings...

    Let's say 1 setting is named location1 and another location2 then use this code on form closing:

    My.Settings.location1 = Panel1.Location.X

    My.Settings.location2 = Panel1.Location.Y

    Then use this code on form load:

    Dim PanelLoad As New Point (My.Settings.location1, My.Settings.location2)

    Panel1.Location = PanelLoad

    Just remember to set both the values to 0 for the first run. :D

  • show us how to make a pannel that will open something and let the users create a pannel and create a locating so it will open what they want it to open!

  • @Residentevilfan500 What you mean a program panel?

  • yay i gotmy name in the description lol

  • @topvirus2k9 Haha. I was actually going to use this code in my next version of the Lightning OS. So it was harder to remember (notice notepad on the top and me pasting the codes).

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • nice tut but nice error in "description"

  • can u put codes in desc.?

  • I learned how to make a panel/object resizer... ill make a vid and give some cred 2 u

  • @OddMan360 Is there a way to prevent me from moving the panel outside the Window? Because If I do that and MouseUp again I can't get it back ^^

  • How do u get oval shape? :?

  • Is there a way to RESIZE the panels at runtime?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more