Options

Calculator buttons Client Control Add-In Navision

Hi,

I am trying to build a control add-in for NAV where I can have a basic calculator keyboard. I found this tutorial, I managed to see in Nav Client the actual page with the red buttons but nothing happens when I press a button.

https://blogs.msdn.microsoft.com/freddyk/2009/11/01/using-touchscreens-with-the-roletailored-client/

There is another person who tried this or encountered the same request?

Thanks!!!!

Answers

  • Options
    AntHillMobAntHillMob Member Posts: 79
    Put a message in the OnControlAddIn trigger of the control used for the add-in. You should see this when a button is pressed. The parameters of the trigger will tell you which button.

    However...

    This is a very old article and control add-ins have moved on a lot since then.
    You can now user JavaScript add-ins that are a lot better suited to this type of task and you can also create your own events for the control rather than relying on OnControlAddIn.
  • Options
    Andreea_AmariteiAndreea_Amaritei Member Posts: 3
    Hi.

    Thank you for your answer. I tried putting a message on the OnControlAddIn trigger first with the index that is the parameter and then a test message eg. message('a') but didn't work.. so i assume that something has to be regarding the dll.

    I am trying to find hints how to make a control add-in like this one, but I'm stuck in creating the the project in visual.. and google doesn't help me that much since I've read so far all the links available. if you can guide me or suggest me link's where I can learn about this.. I'll appreciate it.

    thx
  • Options
    AntHillMobAntHillMob Member Posts: 79
    This is probably the best walkthrough as an example:

    https://msdn.microsoft.com/en-us/library/dn182584(v=nav.90).aspx
Sign In or Register to comment.