OE11.7 regression : Browse column has frame attribute

Posted by cverbiest on 29-Sep-2017 04:14

Up until oe11.6 a browse column widget did not have a frame attribute. starting with 11.7 it has a frame attribute that refrences the frame the browse widget is in.

This caused our logic to reverse walk the widget tree to skip the browse widget.

I won't be reporting this to tech support as I was able to solve our problem but maybe it will affect someone else

The sample shows

---------------------------
Message
---------------------------
11.6 RowId can-query frame no
---------------------------
OK   
---------------------------

---------------------------
Message
---------------------------
11.7 RowId can-query frame yes
---------------------------

define temp-table tRow no-undo
    field RowId as integer
    field RowDescription as character
    index Rowid is unique primary RowId.
    
define query qRow for tRow scrolling.
define browse bRow query qRow 
    display RowId RowDescription with  10 down.
    
form bRow with frame fBrowse .

define variable hColumn as handle no-undo.

do with frame fBrowse:
    view.
    enable all.
    hColumn = browse bRow:first-column.    
    message proversion hColumn:name "can-query frame" can-query(hColumn, "frame") view-as alert-box.
end.    

All Replies

Posted by Matt Gilarde on 29-Sep-2017 07:03

This change in behavior was done on purpose to fix issue PSC00346178. When we make changes like this we try to determine what impact they will have on existing applications but with so many millions of lines of ABL code in the world the odds are always good that any change we make will affect somebody negatively.

There should have been a release note for this change. There wasn't, and that's my fault.

Posted by cverbiest on 29-Sep-2017 08:30

PSC00346178

=============================

Querying the FRAME on a browse column handle causes error 4052 "FRAME is not a

queryable attribute for <widget id>".

This thread is closed