Project

General

Profile

Bug #8586

Fields are not in FIELD-GROUP until they are enabled

Added by Vladimir Tsichevski 26 days ago. Updated 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Vladimir Tsichevski 26 days ago

The program:

DEFINE BUTTON focusable4.
DEFINE BUTTON focusable1.

DEFINE FRAME innerFrame
  focusable1
  WITH SIZE 60 BY 2
  AT ROW 3 COL 1.

DEFINE FRAME outerFrame
  focusable4 
WITH SIZE 80 BY 15.
FRAME innerFrame:FRAME = FRAME outerFrame:HANDLE.

// Print frame tab ring
PROCEDURE PrintTabRing:
  DEFINE INPUT PARAMETER fr AS HANDLE NO-UNDO.
  DEFINE VARIABLE w AS HANDLE NO-UNDO.
  MESSAGE "Tab ring" fr:NAME.
  w = fr:FIRST-CHILD:FIRST-TAB-ITEM.
  DO WHILE w <> ?:
    MESSAGE w:NAME.
    w = w:NEXT-TAB-ITEM.
  END.  
END PROCEDURE.

RUN PrintTabRing(FRAME outerFrame:HANDLE).
ENABLE focusable4 WITH FRAME outerFrame.
RUN PrintTabRing(FRAME outerFrame:HANDLE).

WAIT-FOR GO OF FRAME outerFrame.

This program prints frame FIELD-GROUP contents before any fields are enabled in the frame and after.

In OE it prints focusable4, innerFrame before any fields are enabled in the frame and innerFrame, focusable4 after (field, which is explicitly enabled, moved to the end of group, which matches the docs).

In FWD it prints nothing before any fields are enabled in the frame and innerFrame, focusable4 after.

Also available in: Atom PDF