问题:控件中文字大小能随着窗口的大小一起缩放吗

此主题相关图片如下:qq截图20191028085419.png


此主题相关图片如下:qq截图20191028085428.png

///////窗口的放大缩小实现方法(论坛里面找到的)
Afterload事件
vars("width") = e.Form.width
vars("height") = e.Form.height
SizeChanged事件
For Each c As Winform.Control In e.Form.Controls
c.Left = c.Left * (e.Form.Width / vars("width"))
c.Top = c.Top * (e.Form.Height / vars("height"))
c.Width = c.Width * (e.Form.Width / vars("width"))
c.Height = c.Height * (e.Form.Height / vars("height"))
Next
msgbox(e.Form.Height / vars("height"))
vars("width") = e.Form.width
vars("height") = e.Form.height