开发者

main form resizing not showing the image buttons in child form

I am working on a .NET C# application that has a main Form which is MDI container. When the user resizes the main for开发者_Python百科m, scroll bars appear and the imagebuttons are covered by the scroll bars of the mainform...

When the form first loads the buttons are shown correctly.

Resizing the form(main form), the image buttons in child form become invisible (they are covered by main from scroll bars)

Would any one pls help on this for displaying images in child form ..

Many thanks


Try merging the "image" buttons to the MDI Parent's ToolStrip. You have to make the ToolStrip control on the child form invisible and set the MergeAction and MergeIndex properties in order to get it to work. See ToolStripManager.Merge Method.

If you want them to stay on the child form, the scrollbars are going to come into play. It's sort of the deal with MDI forms.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜