IVisuManager.SetMainVisuGlobally (METH) ¶ METHOD SetMainVisuGlobally : INT Changes the shown visualization in some sorts of clients. All clients of the given type will switch to the given visualization. If no according visu is found, nothing will happen. InOut: Scope Name Type Comment Return SetMainVisuGlobally INT Input clientsToChange Visu_ClientType This can be a combination of the values in the enumeration Visu_ClientType, all clients of this type will be switched to the given visu. stVisu STRING The name of the visu to be switched to
IVisuManager.SetStartVisu (METH) ¶ METHOD SetStartVisu : BOOL InOut: Scope Name Type Return SetStartVisu BOOL Input visu IVisualisation
ISelectionManager.SelectElement (METH) ¶ METHOD SelectElement : DWORD The selection manager moves the selection to another visual element. The element, which should be selected next, has to implement ISelectable. Then it will be called by SelectElement with dwSelectionType : VISU_SELECTION_ELEMENT Returnvalue is a constant of Visu_Selection_Constants, like VISU_SELECTION_OK. InOut: Scope Name Type Comment Return SelectElement DWORD Input pClientData POINTER TO VisuStructClientData the client, where the selection should change iVisualElement IVisualElement the element, which should be selected
ISelectionManager.SelectElementAt (METH) ¶ METHOD SelectElementAt : DWORD The selection manager moves the selection to another visual element with the given ID. (ID from the element list in the visualization) The element, which should be selected next, has to implement ISelectable. Then it will be called by SelectElement with dwSelectionType : VISU_SELECTION_AT Returnvalue is a constant of Visu_Selection_Constants, like VISU_SELECTION_OK or VISU_SELECTION_ERR_WRONG_ELEMENT_POSITION InOut: Scope Name Type Comment Return SelectElementAt DWORD Input pClientData POINTER TO VisuStructClientData the client, where the selection should change stPosition STRING the ID of the element to select.
ISelectionManager.SelectNextElement (METH) ¶ METHOD SelectNextElement : DWORD The selection manager moves the selection to another visual element. The element, which should be selected next, has to implement ISelectable. Then it will be called by SelectElement In this call pPosition and iVisualElement will be NULL) Returnvalue is a constant of Visu_Selection_Constants, like VISU_SELECTION_OK InOut: Scope Name Type Comment Return SelectNextElement DWORD Input pClientData POINTER TO VisuStructClientData the client, where the selection should change dwSelectionType DWORD any of the selection types from Visu_Selection_Constants like VISU_SELECTION_TAB to VISU_SELECTION_ELEMENT dwGroupType DWORD any of the selection types from Visu_Selection_Constants like VISU_SELECTION_GROUP_SINGLE to VISU_SELECTION_VISU_DIALOG_BLOCK
ISelectionManager.SelectionColors (PROP) ¶ PROPERTY SelectionColors : VisuStructColors
ISupportsRealDrawing.RealDrawing (PROP) ¶ PROPERTY RealDrawing : BOOL
IUserMgmtEventHandler.HandleLogin (METH) ¶ METHOD HandleLogin : BOOL This method will be called when a login to the visu user management is performed InOut: Scope Name Type Comment Return HandleLogin BOOL TRUE - When the handler has handled this event and it should not be handled by someone else FALSE - When the event is not handled by this handler Input pClient POINTER TO VisuStructClientData A pointer to the client structure were the event occurred. The name of the user, that logged in, is stored in pClient^.GlobalData.CurrentUserName
IUserMgmtEventHandler (ITF) ¶ INTERFACE IUserMgmtEventHandler EXTENDS __SYSTEM.IQueryInterface This interface must be implemented by function block instances, that will be registered by a call to VisuElems.Visu_Globals.g_VisuEventManager.SetUserMgmtEventHandler. Methods: HandleLogin HandleLoginFailed HandleLogout HandlePasswordChange Structure: HandleLogin (Method) HandleLoginFailed (Method) HandleLogout (Method) HandlePasswordChange (Method)
IUserMgmtEventHandler.HandleLoginFailed (METH) ¶ METHOD HandleLoginFailed : BOOL This method will be called when a login attempt to the visu user management failed. InOut: Scope Name Type Comment Return HandleLoginFailed BOOL TRUE - When the handler has handled this event and it should not be handled by someone else FALSE - When the event is not handled by this handler Input udiError UDINT The error code. See VUM_ErrorCodes.ERR_VUM* constants for details. pClient POINTER TO VisuStructClientData A pointer to the client structure were the event occurred.