Usercontrol datatype in C/AL

Hello,

I am new to AL as well as CAL (Nav 18). I would like to know how  to convert the code in AL. IT uses the  data type  "UserControl"

Thank you in advance.

       usercontrol(WebPageViewer; "Microsoft.Dynamics.Nav.Client.WebPageViewer")  //how do i add user control in cal
            {
                ApplicationArea = All;

                trigger ControlAddInReady(callbackUrl: Text)    usercontrol(WebPageViewer; "Microsoft.Dynamics.Nav.Client.WebPageViewer")  //how do i add user control in cal
            {
                ApplicationArea = All;

                trigger ControlAddInReady(callbackUrl: Text)  
                begin
                    NavigateToAppCenter();
                end;

                trigger Refresh(callbackUrl: Text)
                begin
                    NavigateToAppCenter();
                end;
            }

Related
Recommended