How to: Make movable panels in Visual Basic 2008
Loading...
2,897
Loading...
Uploader Comments (OddMan360)
see all
All Comments (20)
-
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...
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 2 months ago
@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
OddMan360 2 months ago
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 1 year ago
@Residentevilfan500 What you mean a program panel?
OddMan360 1 year ago
yay i gotmy name in the description lol
topvirus2k9 1 year ago
@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).
OddMan360 1 year ago