Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

VisuElems Selection Manger

kvdwaal
2021-07-15
2021-08-27
  • kvdwaal - 2021-07-15

    I want to use the library VisuElemsBase in codesys.
    This code selects the next element:
    VisuElems.g_SelectionManager.SelectNextElement(

    What are the options on inputs: dwSelectionType and dwGroupType?

    I Think I can use the global variables from the library: Visu_Selection_Constants
    But there is no documentation or source code available.

     
  • TimvH

    TimvH - 2021-08-27

    I found the dwSelectionType options in the help of the VisuFctSelectElement:
    VISU_SELECTION_TAB : DWORD := 16#00000001; VISU_SELECTION_SHIFTTAB : DWORD := 16#00000002; VISU_SELECTION_FIRST : DWORD := 16#00000003; VISU_SELECTION_LAST : DWORD := 16#00000004; VISU_SELECTION_LEFT : DWORD := 16#00000005; VISU_SELECTION_UP : DWORD := 16#00000006; VISU_SELECTION_RIGHT : DWORD := 16#00000007; VISU_SELECTION_DOWN : DWORD := 16#00000008; VISU_SELECTION_AT : DWORD := 16#00000009; VISU_SELECTION_ELEMENT : DWORD := 16#000000010

     

Log in to post a comment.