Compile Time Changes

Cleanup of DsTocExtensionToolboxCard

Argument str cardProductLevelCode has been changed to ProductLevel cardLevel. The default value remains as null.

Old: public constructor(Window parent,
                        str label,
                        symbol pkg,
                        str name,
                        DataCatalog catalog,
                        ProductCatalog productCatalog,
                        str sortKey=null,
                        bool useInPaperSpace=false,
                        str cardProductLevelCode=null) {
New: public constructor(Window parent,
                        str label,
                        symbol pkg,
                        str name|,
                        DataCatalog catalog,
                        ProductCatalog productCatalog,
                        str sortKey=null,
                        bool useInPaperSpace=false,
                        ProductLevel cardLevel=null) {

Cleanup of DsButtonDropDownTreeView constructor

Removed unused argument Brush brush=null from the constructor.

Old: public constructor(Window parent,
                        Font font=systemFont(),
                        Brush brush=null, // MergeTODO 16.0 Prism: Remove as this is not used!
                        Brush stdBrush=dsGradientBrush,
                        Brush hoverBrush=dsLightGradientBrush,
                        Brush mouseDownBrush=dsSuperLightGradientBrush,
                        FrameStyle frameStyle=dsRoundedFrame,
                        frame3DState frameState=frameStateDown,
                        pointI pos=(0, 0),
                        sizeI size=(0, 0),
                        pointI margins=(6, 4),
                        alignment align=left,
                        bool popup=false,
                        bool shadow=false,
                        function (Control control) callback=null,
                        bool alwaysMultiSelect=false,
                        bool allowMultiSelect=false,
                        bool directSelect=false,
                        bool listBoxStyle=true,
                        treeViewSelectionStyle selectionStyle=treeViewSelectionStyle.undefined,
                        int minWidth=-1,
                        int autoOpenDelay=500,
                        bool autoGestures=false,
                        Image selectionImage=null,
                        str selectionLabel=null,
                        Brush selectionBrush=null,
                        str key=null,
                        str label=null,
                        color labelColor=color(0, 0, 0),
                        Image image=null,
                        Image disabledImage=null,
                        bool useFocusRectangle=true,
                        bool keepInsideScreen=true) {
New: public constructor(Window parent,
                        Font font=systemFont(),
                        Brush stdBrush=dsGradientBrush,
                        Brush hoverBrush=dsLightGradientBrush,
                        Brush mouseDownBrush=dsSuperLightGradientBrush,
                        FrameStyle frameStyle=dsRoundedFrame,
                        frame3DState frameState=frameStateDown,
                        pointI pos=(0, 0),
                        sizeI size=(0, 0),
                        pointI margins=(6, 4),
                        alignment align=left,
                        bool popup=false,
                        bool shadow=false,
                        function (Control control) callback=null,
                        bool alwaysMultiSelect=false,
                        bool allowMultiSelect=false,
                        bool directSelect=false,
                        bool listBoxStyle=true,
                        treeViewSelectionStyle selectionStyle=treeViewSelectionStyle.undefined,
                        int minWidth=-1,
                        int autoOpenDelay=500,
                        bool autoGestures=false,
                        Image selectionImage=null,
                        str selectionLabel=null,
                        Brush selectionBrush=null,
                        str key=null,
                        str label=null,
                        color labelColor=color(0, 0, 0),
                        Image image=null,
                        Image disabledImage=null,
                        bool useFocusRectangle=true,
                        bool keepInsideScreen=true) {

Updates to DsToolboxThumbnailView constructor

The cosntructor has a new argument buttonType btnType with a default value of buttonType.undefined

Old: public constructor(Window parent, pointI pos=(0, 0),
                        sizeI size=(0, 0),
                        pointI margins=(0, 0),
                        DsDragAnimationEnv dragAnimationEnv=null,
                        FrameStyle frameStyle=toolboxButtonFrameStyle,
                        frame3DState frameState=frameStateDown,
                        bool facelift=false,
                        SrcRef src=#:src) {
New: public constructor(Window parent, pointI pos=(0, 0),
                        sizeI size=(0, 0),
                        pointI margins=(0, 0),
                        DsDragAnimationEnv dragAnimationEnv=null,
                        FrameStyle frameStyle=toolboxButtonFrameStyle,
                        frame3DState frameState=frameStateDown,
                        bool facelift=false,
                        buttonType btnType=buttonType.undefined,
                        SrcRef src=#:src) {

Cleanup of DsGridWindow

There were some references to legacy frame logic that was removed.

Removed: extend public void paintFrame3D(DsGridWindowPaintArgs args) {

Previously the defaultFrameStyle method applied a WinFrame with thin3DFrameOld for selected and label. This has now been updated to thin3DFrame.

extend public void defaultFrameStyle(DsFrameStyle style) {
    style."default" = WinFrame(PenFrame(linePen), frame3DState.frameStateFlat);
    Old: style."selected" = WinFrame(thin3DFrameOld, frameStateDown);
    New: style."selected" = WinFrame(thin3DFrame, frameStateDown);

    Old: style."label" = WinFrame(thin3DFrameOld, frameStateUp);
    New: style."label" = WinFrame(thin3DFrame, frameStateUp);
}