AT COLUMN column COLUMN-OF reference-pointROW row ROW-OF reference-pointCOLON-ALIGNED LEFT-ALIGNED RIGHT-ALIGNED
AT X x X-OF reference-pointY y | Y-OF reference-pointCOLON-ALIGNED LEFT-ALIGNED RIGHT-ALIGNED
AT nThe column, measured in character units. This option is not supported for the Frame phrase. You cannot use the alignment options with this syntax. If you use this option, the AVM chooses the row based on the previous widget and form item layout of the frame. For information on form items, see the DEFINE FRAME statement or FORM statement.COLUMN columnCOLUMN-OF reference-pointIndicates the column position of the field relative to another field-level widget previously defined in the frame. This option is not supported for the Frame phrase. This is the syntax for reference-point:
widget + - offsetIn this syntax, widget is a reference to a field-level widget previously defined in the frame, and offset is a positive decimal value. For example, if widget is positioned at COLUMN 10, then COLUMN-OF widget + 2.5 positions the field at column 12.5.X xX-OF reference-pointIndicates the X co-ordinate of the field relative to another field-level widget previously defined in the frame. This option is not supported for the Frame phrase. The co-ordinate is expressed as the co-ordinate of a widget previously defined in the frame, plus or minus an offset. The offset must be either a constant or preprocessor constant and must be a positive integer.ROW rowROW-OF reference-pointIndicates the row of the field relative to another field-level widget previously defined in the frame. This option is not supported for the Frame phrase. The row is expressed as the row of a widget previously defined in the frame, plus or minus an offset. The offset must be either a constant or preprocessor constant and must be a positive decimal value.Y yY-OF reference-pointIndicates the Y co-ordinate of the field relative to another field-level widget previously defined in the frame. This option is not supported for the Frame phrase. The co-ordinate is expressed as the co-ordinate of a widget previously defined in the frame, plus or minus an offset. The offset must be either a constant or preprocessor constant and must be a positive integer.Specifies whether to align the left edge of the field, right edge of the field, or the colon of the field label, with the specified position. This option can only be used in combination with the ROW and COLUMN options. This option is not supported for the Frame phrase.
DEFINE FRAME order-infoOrder.CustNnum AT ROW 2 COLUMN 8Customer.Name AT ROW 2 COLUMN 18Order.OrderNum AT ROW 2 COLUMN 50Order.OrderDate AT ROW 2 COLUMN 65WITH TITLE "Order Information".FOR EACH Order NO-LOCK BREAK BY Order.CustNum WITH FRAME order-info:IF FIRST-OF(Order.CustNum) THEN DO:FIND Customer OF Order NO-LOCK.DISPLAY Order.CustNum Customer.Name.END.DISPLAY Order.OrderNum Order.OrderDate.END.
DEFINE FRAME order-infoOrder.CustNum AT X 50 Y 14Customer.Name AT X-OF Order.CustNum + 100 Y 14Order.OrderNum AT X-OF Order.CustNum + 225 Y 14Order.OrderDate AT X-OF Order.CustNum + 320 Y 14WITH TITLE "Order Information" NO-LABELS.FOR EACH Order NO-LOCKBREAK BY Order.CustNum WITH FRAME order-info:IF FIRST-OF(Order.CustNnum) THEN DO:FIND Customer OF Order NO-LOCK.DISPLAY Order.CustNum Customer.Name.END.DISPLAY Order.OrderNum Order.OrderDate.END.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |