FAQ: Remove Minimize and Maximize Buttons From Windowed Page

Question:       I have a page in my application that has been configured to always be displayed as a dialog-sized page rather than as a full-sized page (using the "Always Display in Window" page property). The page features minimize and maximize buttons, which I do not wish to be enabled. How can I turn them off?

 

A:        Declare a variable named "PageWinOpt" in the variable declaration section of the page's code file (<PageName>.src), then set it as follows:

PageWinOpt = 0b1010000100000011