1 /*************************************************************/
2 /* Copyright
(c
) 1984-1993 by Progress Software Corporation
*/
4 /* All rights reserved. No part of this program or document
*/
5 /* may be reproduced in any form or by any means without
*/
6 /* permission in writing from
PROGRESS Software Corporation.
*/
7 /*************************************************************/
11 ** This file is part of a trio
: adestds.i okform.i okrun.i. This file should
12 ** be included at the end of a
FORM statement to provide a standardized look
13 ** for the
OK CANCEL bar. For more information on this
, see the document
14 ** design\ade\misc\sullivan.doc.
17 ** &BOX widget name of the rectangle to be used for the background box
18 ** &STATUS set to yes if a status line appears above the bottom row of buttons
19 ** &OK widget name of the ok button
20 ** &CANCEL widget name of the cancel button (optional)
21 ** &OTHER 4GL for any intervening buttons (optional)
22 ** &HELP widget name of the help button (optional - e.g. for tty)
25 /* stdui.i is required for this file
*/
26 /* this statement chucks core
- reported as bug
93-04-30-27
27 &IF DEFINED(ADESTDSI) = 0 &THEN
32 /* if there is a status area
, use a smaller vertical margin
*/
33 &IF "{&STATUS}" = "yes" &THEN
39 /* if there is a Sullivan blue box
, place it here. The box will take
40 up
.25 PPU of vertical height. If the box does not exist
, then skip
41 this height explicitly
*/
49 /* place the
OK, Cancel buttons
, then any intervening buttons
, followed by
52 &IF "{&CANCEL}" <> "" &THEN
53 space
({&HM_DBTN}) {&CANCEL}
56 &IF "{&HELP}" <> "" &THEN
57 space
({&HM_DBTNG}) {&HELP} space({&HFM_OKBOX})
60 /* if there is an ok box
, skip to allow for it below the buttons
*/
65 /* skip a margin below the box or the buttons
*/