Resize Factbox Pane (v17.0.112026.0)

  • 2 minutes to read

Controladdin

CFLResizeInfoPane

Met deze controladdin is het mogelijk de breedte van de infoblokken te vergroten.
De control heeft geen zichtbare component.
De control bevat 1 functie "Resize" waarbij het percentage van schermbreedte kan opgegeven worden die de infoblokken moeten innemen.

Hieronder voorbeeld van gebruik:

pageextension 2098297 "CFL DC Document Ext" extends "CDC Document List With Image"
{
    layout
    {
        addlast(content)
        {
            usercontrol(CFLResizeFactbox; CFLResizeInfoPane)
            {
            }
        }
    }

    actions
    {
        addlast(processing)
        {
            action(CFLExtendFactboxPane)
            {
                ApplicationArea = All;
                caption = 'Extend Factbox Pane';
                ShortcutKey = 'Ctrl+E';
                image = ShortcutToDesktop;
                Promoted = true;
                PromotedCategory = Process;
                PromotedIsBig = true;
                PromotedOnly = true;

                trigger OnAction()
                begin
                    CurrPage.CFLResizeFactbox.Resize(60);
                end;
            }
        }
    }
}