Set up Custom Controls for your Program Screens

You can customize host sessions with Micro Focus Plus controls to provide a modern interface with new features and capabilities. You can also enhance your program interface using Reflection Hotspots (virtual buttons that appear over text in terminal sessions).

Use Micro Focus Plus Screen Designer

You can use Micro Focus Plus Screen Designer to customize host sessions and provide a modern interface with new features and capabilities. The Screen Designer provides a number of modern controls that you can add to your host screens to provide a more modern user experience for your host programs. Some examples of how you can use the Screen Designer include:

  • Adding tool tips to fields to help your users get over the difficult spots in your application.

  • Replacing old-style numbered option lists with more modern drop-down selection lists.

  • Adding buttons to the host application's interface and program them to start macros or perform other actions.

  • Replacing manual date entry with a graphical calendar date-picker.

Micro Focus Reflection DesktopPlus is distributed in limited and full feature versions

Reflection Desktop includes a limited version of Micro Focus Plus. To get access to more controls and full use of Plus, you can purchase and install the Micro Focus Reflection Desktop Plus add-on.

What you need to do to use the Screen Designer with Reflection

You’ll need to follow this process to set up Screen Designer controls on a session.

NOTE:

  • Micro Focus Reflection Desktop Plus does not support Japanese and other languages that use double byte information.

  • You can only customize screens for 3270 mainframe and 5250 AS/400 sessions.

  • When you run a macro in Plus mode, controls do not appear on any customized screens until the macro reaches the final screen.

Get and save a screen history

  1. Open a session and then select Screen History.

    The steps depend on your user interface mode.

    User Interface Mode

    Steps

    Ribbon

    On the Session ribbon, click the Screen History button.

    Reflection Browser

    On the Reflection menu, choose View and then Screen History.

    TouchUx

    Tap the Wrench icon and then under View, select Screen History.

  2. Navigate through the screens you want to modernize.

  3. On the Appearance tab, in the Plus group, from the Plus drop down list, select Export History for Screen Designer.

Use the Screen Designer to set up the controls on the screen

Follow this basic process to set up the controls. For detailed instructions, see the online Help provided with the Screen Designer.

  1. On the Appearance tab, from the Plus drop down menu, select Screen Designer.

  2. Create a new project, and then import the screen history.

  3. Add static controls in the Screen Design view.

  4. For dynamic control or conditional controls, create rules in the Rule Manager window.

  5. Generate a Screen Designer customization file. Be sure to save the file in a trusted location, such as your user data directory (by default, this is Documents\Micro Focus\Reflection\).

    The customization (.rdar) file is an archive file which contains the rules file (.rsdo) and resource files such as images, macros, and scripts.

Set up your session to use the controls

  1. Open your session and select the Appearance tab.

  2. On the Plus drop down list, choose Select Plus Customization File and then select the customization file you created for this session.

    The controls you created are displayed on the session file screens.

Define Hotspots

Hotspots are virtual buttons that appear over text in terminal sessions. By using hotspots, you can control your terminal session with the mouse instead of the keyboard. Typically, clicking a hotspot transmits a terminal key or command to the host, but you can also configure hotspots to open a Web page, launch a macro, or perform a variety of other actions.

You can create new hotspots files or set sessions to use customized hotspot files that you have used in other sessions.

To create and configure a customized hotspots file

  1. Under Terminal Appearance, click Manage Hotspots.

  2. Click Create a new hotspots file from an existing hotspots file.

  3. In the Create a New Hotspots File dialog box, select the type of hotspots file (built-in, Custom, or the new file for the current session) to use as a template for creating a new hotspots file.

  4. In the Modify Hotspots dialog box, under Hotspot text, enter the text for the hotspot.

  5. Under Select an action to map to the hotspot, select an action to map to and configure the action.

  6. When prompted, save the new hotspot file.

  7. On the Quick Access Toolbar, click the Save button to save the session.

    The session is automatically configured to point to the new hotspot file.

To set up a session to use a customized hotspots file

  1. Make sure the hotspots file is in a trusted location.

  2. Under Terminal Appearance, click Manage Hotspots.

  3. Click Select another hotspots file.

  4. Select Custom and browse to the file you want to use.

    The selected file is displayed under currently selected file.

  5. Save the session.

    The session is configured to point to the new hotspot file.

To enable hotspots and specify which mouse actions trigger them

  1. Open the Document Settings dialog box.

  2. Under Terminal Appearance, click Set Up Hotspot Display Settings.

  3. Select Enable all defined hotspots.

  4. Under Mouse Activation, configure the mouse actions that you want to trigger your hotspots.

Create a Custom Context Menu

You can create custom context menus for legacy hot lists or for other types of frequently used commands. After you create a custom context menu, you can map a mouse action to open the new menu.

  1. At the top of the Context Menu dialog box, click Add and enter the name of your context menu.

  2. Add the menu items and separators for your new menu.

  3. Under Menu Item settings, enter the label and select an action for each item.

  4. Click OK to save the new menu.

Next, you'll want to make a right-click open the new custom context menu instead of the default.

  1. Under Mouse Mapper, for Key Combination, select Right and then click Modify.

  2. From the list of actions, select Show Specific Context Menu.

  3. On the right, from the Context Menu, choose the name of the new custom context menu.