开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜