apprently it doesnt do anything when I call it in my MDI form...
someMDIForm.LayoutMdi(MdiLayout.ArrangeIcons)
Printable View
apprently it doesnt do anything when I call it in my MDI form...
someMDIForm.LayoutMdi(MdiLayout.ArrangeIcons)
bump
couldnt find detailed info on this, help:rolleyes:
I'm too lazy to actually look at code right now, but if I remember correctly, arrange icons arranges the icons when your MDI children are minimized.
To say that another way, open two or more child forms, minimize them, then drag them around to rearrange. Then arrange icons and they snap to a neat arrangement.
HTH,
Mike
wooh yeah exactly :) thank you, couldnt have figured that out on my ownQuote:
Originally posted by Mike Hildner
I'm too lazy to actually look at code right now, but if I remember correctly, arrange icons arranges the icons when your MDI children are minimized.
To say that another way, open two or more child forms, minimize them, then drag them around to rearrange. Then arrange icons and they snap to a neat arrangement.
HTH,
Mike
Everyone's gonna hate me for bumping a 5+ year old thread....but I have this info to add:
When forms are minimized and "arrange icons" is called it does indeed arrange the icons. BUT, so does a "cascade"....AND it has the added benefit of arranging them when they are not minimized as well.
So, for what purpose is arrange icons if the cascade function can do all the same functionality and some?
cascade un-minimizes (but not maximized - WindowState = Normal) the forms and arranges them in a cascading form... arrange icons affects MINIMIZED forms... arranging them left to right, bottom to top... Arrange Icons and Cascade are different operations...
-tg
on my machine cascade does not do any "un-minimizing". If you call it when they are minimized it mimics the behavior of "arrange icons". If the forms are not max size and not minimized then it cascades them for me.
Maybe I am doing something wrong then? How do I set it up where it acts like yours does? I thought I had the default environment settings....
its a simple routine that callsso I hope I haven't messed up the code, lolCode:Me.LayoutMdi(MdiLayout.ArrangeIcons)
Cascade appears to affect both normal and minimised windows, while ArrangeIcons affects only minimised windows. If you want to arrange your minimised windows without affecting your normal windows then you need to call ArrangeIcons.