开发者

How do you float a control in VB.NET like you would in CSS

开发者 https://www.devze.com 2023-03-02 13:27 出处:网络
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 examp

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

0

精彩评论

暂无评论...
验证码 换一张
取 消