如何将自动滚动分配给MDI表单 [英] How to assign auto scroll to MDI Form

查看:77
本文介绍了如何将自动滚动分配给MDI表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个MDI子级,在其中为其分配了最小尺寸,因此用户无法将其调整为小于已分配的最小尺寸,但是MDI父级可以具有较小的尺寸.

如果MDI父级的大小小于MDI子级的大小,我想显示自动滚动,但是我发现MDI容器不能具有true的自动滚动属性.

那请问我该怎么办?

预先感谢,
:)

Hi all,

I have an MDI Child in which I was assigning its minimum size so the user couldn''t resize it smaller than the minimum size already assigned, but the MDI parent can have a smaller size.

I want to show an auto scroll if the MDI Parent has a size less than The MDI Child size, but I found that the MDI container can''t have an auto scroll property true.

So please what can I do ?

Thanks in advance,
:)

推荐答案

您可以设置
You could set the Form.Autoscroll property[^]...


当您检查MDI表单时属性.默认情况下,有一个选项Autoscroll属性= False,您必须将属性False更改为true.
When u check MDI forms property .there is an option Autoscroll property by default =False u must change the property False into true.


我知道这很旧,但是答案是将MDI父级设置为这样,并将MDI子窗体设置为AutoScroll = true.我只是遇到了同样的问题,这对我有用.
I know this is old, but the answer is to set the MDI Parent as such, and the MDI Child Form to AutoScroll = true. I just had the same problem, this was what worked for me.


这篇关于如何将自动滚动分配给MDI表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆