You need to create a function around this function to check the dialogs you use in your program. That's the way i have done it.
FUNCTION CheckDialogOpen : BOOL VAR_INPUT sDialogName : STRING; END_VAR VAR pstClientData : POINTER TO VisuElems.VisuStructClientData; itfDialogManager : VisuElems.IDialogManager; itfMyDialog : VisuElems.IVisualisationDialog; END_VAR VisuElems.g_ClientManager.BeginIteration(); WHILE (pstClientData := VisuElems.VisuElemBase.g_ClientManager.GetNextClient()) <> 0 DO itfDialogManager := VisuElems.g_VisuManager.GetDialogManager(); itfMyDialog := itfDialogManager.GetDialog(sDialogName); CheckDialogOpen...
Hallo Leute, in meinem Projekt bekomme ich mehrfach folgende Warnung beim Übersetzen: C0373: Dialog <visudialogs.textinputwithlimits> ist in der Applikation nicht instanziert. Fehlt er im Visualization Manager?</visudialogs.textinputwithlimits> Was genau möchte mir Codesys damit sagen bzw. wie bekomm ich diese Warnung behoben? MFG
i think you use SP19? then install SP18 Update 5 and use the editor from this version. i get the same message if i use SP19. With SP18 you can open it
Hi there, in my visu manager i use the option to shrink font size automatically and i need this function active. But in one case in my visu (text field) i need this function deactivated. Is there an option to deactivate this function for this one case? BR
I have done it like this: FUNCTION CheckClientData : ARRAY[0..5] OF VisuClientData VAR_INPUT END_VAR VAR pClient : POINTER TO VisuElems.VisuElemBase.VisuStructClientData; pClientTmp : POINTER TO VisuElems.VisuElemBase.VisuStructClientData; DataHelper : VisuElems.VisuFbClientTagDataHelper; i : UINT; END_VAR VisuElems.g_ClientManager.BeginIteration(); WHILE (pClient := VisuElems.VisuElemBase.g_ClientManager.GetNextClient()) <> 0 DO IF pClient^.GlobalData.ClientType = VisuElems.VisuElemBase.Visu_ClientType.WebVisualization...
No one has an idea?
Here you go