For example: how could I have 3 pictures aligned 开发者_Python百科to the right all in one row, then when the far right picture is deleted the other two move to the right to fill that space. Code examples would be appreciated, thanks :)
Edit: I'm looking for this capability for both Windows forms and web forms. I'd be happy right now if I could just get the code for Windows.
For windows-based applications, Use FlowLayoutPanel
control:
FlowLayoutPanel in VB.NET
FlowLayoutPanel Class
For web-based applications, use Floating:
Floatutorial
CSS float Property
精彩评论