About keyboard support in MDI applications

PowerBuilder MDI applications automatically support arrow keys and shortcut keys.

Arrow keys

In an MDI frame, how the pointer moves when the user presses an arrow key depends on where focus is when the key is pressed:

Table 5-2: Arrow key focus changes

Key

If focus is in

Focus moves to

Left

The menu bar

The menu item to the left of the item that has focus

The first menu bar item

The control menu of the active sheet

The control menu of the active sheet

The control menu of the frame

The control menu of the frame

The last menu item

Right

The menu bar

The menu item to the right of the item that has focus

The last menu bar item

The control menu of the frame

The control menu of the frame

The control menu of the active sheet

The control menu of the active sheet

The first item in the menu bar

Down

A drop-down or cascading menu

The menu item below the current item

The last menu item in the drop-down or cascading menu

The first item in the menu

Up

A drop-down or cascading menu

The menu item above the current item

The first menu item in a drop-down or cascading menu

The last item in the menu

Shortcut keys

PowerBuilder automatically assigns two shortcut keys to every MDI frame:

Table 5-3: MDI frame shortcut keys

Key

Use to

Ctrl+F4

Close the active sheet and make the previous sheet active. The previous sheet is the sheet that was active immediately before the sheet that was closed.

Ctrl+F6

Make the previous sheet the active sheet.