Generating a Resizable Logon Window

The {show} method in the Logon class, actually implemented within the Dialog class, takes a number of input parameters that control how the modal response window appears on the screen. The code listed in Figure 4-9 shows how to make the Logon window resizable by adding a new parameter.

{curl 2.0 applet}
{import public * from COM.ENT-CURL.VMS-MOTORS,
    location = " Import.scurl"}
{let logon:VMSLogon = {VMSLogon}}
{logon.show title="VMS Motors Logon",
  style=DialogStyle.resizable}
Figure 4-9. Resizable Logon window.

By using the style keyword when calling the {show} method, minimize and maximize window buttons ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.