简体   繁体   中英

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. You can change them in a button's ON CHOOSE event:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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