here's my problem im trying to make an interface for my current project

im trying to make the panels moveble and im trying to achive an icon like behavior to this panel when you move them around

its like when you move an icon from your desktop it will automaticaly align to a grid in your desktop or something like than. that is what i want to happen to my panels when i drag them around the form they will automaticaly align to a grid.

any easy way around this problem?...

Recommended Answers

This will help with the moving part: http://www.daniweb.com/software-development/vbnet/threads/343625/runtime-draggable-panel

And this should give you some ideas with the "snap-to-grid" function:

Jump to Post

All 2 Replies

This will help with the moving part: http://www.daniweb.com/software-development/vbnet/threads/343625/runtime-draggable-panel

And this should give you some ideas with the "snap-to-grid" function: http://www.xtremevbtalk.com/showthread.php?t=236354

And last, I think that you can create the dragging icon by simply modifying the mouse cursor.
Here's an article on how to accomplish that: http://www.codeproject.com/Articles/33789/Custom-Mouse-Cursors-VB-NET

oh thank a lot of the help...this will help my metro ui design project alot...thanks again

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.