|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Snap Control to gridHi,
Anyone know how I can have my drag and drop form controls 'snap' to a grid like in windows desktop? Divide your window (or whatever you are dragging the controls to) up into a
grid based on the size of grid elements and store these in an array (either two dimensional or use a structure). When the user drops the control onto your window, determine the x,y nearest in your grid to where the control is dropped then change the location of the control to that x,y. -- Show quoteHide quoteDennis in Houston "Marc" wrote: > Hi, > > Anyone know how I can have my drag and drop form controls 'snap' to a > grid like in windows desktop? > >
calling math functions at run time
regarding .net help Help reading control.location value back form text file DataGridView conversion problems Good book for an absolute beginner on VB.net or 2005 with databases newbie: foundfile attributes? (filesize, saved date, etc.) Can someone please translate this to VB.Net WIALib error need help with 1 line of code now! My.Computer.Network.UploadFile error |
|||||||||||||||||||||||