简体   繁体   English

如何使用按钮更改浏览窗口的大小?

[英]How to change the size of the browse window by using button?

I am struck in the case of changing the size of the browse window by using button.我对使用按钮更改浏览窗口大小的情况感到震惊。 Could you please help me by sharing some sample query.您能否通过分享一些示例查询来帮助我。

The HEIGHT-PIXELS and WIDTH-PIXELS properties control the size of the browse widget. HEIGHT-PIXELSWIDTH-PIXELS属性控制浏览小部件的大小。 You can change them in a button's ON CHOOSE event:您可以在按钮的ON CHOOSE事件中更改它们:

ON CHOOSE OF btnIncreaseHeight IN FRAME fFrame /* Increase Height */
DO:
    Browse-1:HEIGHT-PIXELS = Browse-1:HEIGHT-PIXELS + 5.
END.

You can make similar events for decreasing the height and for increasing/decreasing the width.您可以为降低高度和增加/减少宽度进行类似的事件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM