Home

Results 1 to 2 of 2

Thread: Keymapper Assistance with Reflections 16 opensystems

  1. #1
    Join Date
    Aug 2017
    Posts
    1

    Keymapper Assistance with Reflections 16 opensystems

    Hello All,

    I'm trying to utilize the WPF library for reflections 16 for open systems and when I attempted to add in our custom key mapping I was told it was not supported.

    I received the error message:
    Attachmate.Reflection.Framework.TucNotSupportedExc eption: 'This is not supported in Terminal User Control context.'

    on line of code:
    Attachmate.Reflection.Emulation.OpenSystems.IKeybo ardMapper km = Terminal.KeyboardMapper;


    Does anyone know of a way to do a custom keymapping when using the WPF library?

  2. #2
    Join Date
    Jun 2016
    Posts
    40

    Re: Keymapper Assistance with Reflections 16 opensystems

    The Reflection Terminal User Control (TUC) provides programmatic access to only a limited set of classes from the Reflection .Net interface. No keyboard mapping, productivity classes, mouse mapping, file transfer. Mostly you get to work with the Screen object, and you can also work with themes, so that you can change colors and things. There is an interesting article on this in the Reflection .Net Guide...if you have an application with multiple sessions shown on a single form, you can clearly indicate which session has input focus by putting a reverse-video effect on non-selected terminals.

    If you need non-default values for any of other stuff like keyboard mapping, use the overload for the TUC.InitInstance that accepts a string - and pass in the path to a previously configured .rdox file.

    We love to hear about customers programming with the TUC, it's a pretty neat feature. Share some screen shots some time so others can see new ideas for using it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •