Form KeyPreview
 

Form KeyPreview

5 posts, 1 answered
  1. Roger Blanchard
    Roger Blanchard avatar
    402 posts
    Registered:
    29 Jun 2018
    15 Jul
    Link to this post
    We use the Form:KeyPreview heavily in our POS module. We just noticed that if you press the ENTER button the following error will be thrown. 

    If you set KeyPreview = FALSE no error. 

    All other keyboard entries such as F1, F2, etc. work just fine. 

    KeyDownHandler Consultingwerk.SmartComponents.Base.SmartWindowFormController at line 1541  (Consultingwerk/SmartComponents/Base/SmartWindowFormController.r)

    Line 1541 is the following located in {Consultingwerk/foreach.i System.Type oType in SmartWindowFormController:MapEnterKeyControlTypeList}

    ASSIGN oTypeEnumerator = CAST(SmartWindowFormController:MapEnterKeyControlTypeList, System.Collections.IEnumerable):GetEnumerator() .

    Am I missing something or should I open a support ticket?

    Thank you
  2. Peter Judge
    Peter Judge avatar
    13 posts
    Registered:
    11 Aug 2022
    15 Jul in reply to Roger Blanchard
    Link to this post

    Hi Roger,

    What's the error you see?

     


  3. Mike Fechner
    Mike Fechner avatar
    333 posts
    Registered:
    14 Sep 2016
    Answered
    16 Jul in reply to Roger Blanchard
    Link to this post
    Which version are you using? 

    We recently had to fix an issue in the SmartWindowFormController introduced when we implemented the MapEnterToTab feature. That fix was released with the 16/07/2024 release.
  4. Roger Blanchard
    Roger Blanchard avatar
    402 posts
    Registered:
    29 Jun 2018
    16 Jul in reply to Mike Fechner
    Link to this post
    The version is probably about a month old but is definitely not todays release. 

    I will grab the latest, but this definitely sounds like my issue. 

    Thank you.
  5. Roger Blanchard
    Roger Blanchard avatar
    402 posts
    Registered:
    29 Jun 2018
    16 Jul in reply to Mike Fechner
    Link to this post
    Mike,

    The latest release did solve this issue.

    Thank you.
5 posts, 1 answered