KeyMap Property Example

This example displays the name of the keyboard map for the active session.

Sub Main()

 Dim Sys As Object, Sess As Object

 Set Sys = CreateObject("EXTRA.System")

' Assumes an open session

 Set Sess = Sys.ActiveSession

 MsgBox "The current keyboard map is " + Sess.KeyMap + "."

End Sub