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.