Showing results 1 to 3 of 3

Thread: Execute context menu on Leftclick

  1. #1
    Join Date
    01.03.2018
    Posts
    5

    Default Execute context menu on Leftclick

    Hello Everyone,

    I would like to link a context menu to a combine element not via Runtime option because it opens only with right click  ( I would like left click) and I would like to show the context menu only if an admin-level user is logged.

    I need to use VBA scripting? I'm not realy expert on VBA Objet Model.... How I can with simple coding?

  2. #2
    Join Date
    10.12.2007
    Posts
    178

    Default AW: Execute context menu on Leftclick

    Why don't you simply use a zenon picture which is opened by an invisible button on top of the element? There you could also easily define the userlevel that is needed to show the menu.

  3. #3

    Default Re: Execute context menu on Leftclick

    Hi,

    Using the zenon screen as an alternative, in combination with an invisible button, is a great suggestion!

    When you really would like a context menu, you can also look at the function to simulate the right click. You would link this function to the invisible button. You would control the "visibility" of the invisible button in such a way that it is only available when an administrator is logged in. An administrator would tap the invisible button once, to execute the function to simulate the right mouse click and another time to open the context menu linked at the invisible button.

    Best regards,
    Mark

Similar Threads

  1. context menu
    By Shubham Ghatwal in forum zenon Supervisor
    Replies: 4
    Last Post: 3rd April 2018, 16:23
  2. multiple Commands in one context menu
    By marchelo in forum zenon Energy Edition
    Replies: 9
    Last Post: 24th October 2013, 09:03
  3. Context menu Command in touch panels
    By kiltrox in forum zenon Energy Edition
    Replies: 2
    Last Post: 18th April 2013, 08:52
  4. Context menu with authorization level
    By fabio79 in forum zenon Supervisor
    Replies: 2
    Last Post: 18th October 2012, 09:21
  5. Main Menu VS Context Menu
    By whitetaru in forum zenon Supervisor
    Replies: 2
    Last Post: 6th July 2011, 07:20

Posting Rules

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