Positioning a 4GL window in center
问题 I'm having multiple windows throughout my 4gl program where I have to position to the center of the screen. For example: OPEN WINDOW w_yesno AT 10, 10 WITH 4 ROWS, 56 COLUMNS ATTRIBUTE (BORDER, MESSAGE LINE FIRST+1, PROMPT LINE FIRST+2) Is there any keyword I can use to automatically open it in the center? Something like: OPEN WINDOW w_yesno AT CENTER 回答1: No, there isn't a keyword solution to centring windows. You can use variables for the positions and do the calculation, or you can do the