I'm having some troubles with this same issue and I'm wondering if someone can help me out. On a settings visual I allow the operator to enter some values however if they activate the page change button it will change the change with the Numpad dialog open. Since I'm using Visuelems.CURRENTVISU to change the pages I came across this code noted below for determining if the Numpad dialog was active. This code worked great however now in 3.5.19 it's now obsolete. I've tried following the directions...
I'm having some troubles with this same issue and I'm wondering if someone can help me out. On a settings visual I allow the operator to enter some values however if they activate the page change button it will change the change with the Numpad dialog open. Since I'm using Visuelems.CURRENTVISU to change the pages I came across this code noted below for determining if the Numpad dialog was active. This code worked great however now in 3.5.19 it's not obsolete. I've tried following the directions...
I'm having some troubles with this same issue and I'm wondering if someone can help me out. On a settings visual I allow the operator to enter some values however if they activate the page change button it will change the change with the Numpad dialog open. Since I'm using Visuelems.CURRENTVISU to change the pages I came across this code noted below for determining if the Numpad dialog was active. This code worked great however now in 3.5.19 it's not obsolete. I've tried following the directions...
I'm programming an HMI, and on a settings page I have external buttons allow the operator to tab between various elements to select which one they want to adjust. I then use "Input Configuration" > "OnMouseClick" to select which variable to adjust. The problem is, when adjusting the variable the pointer will move to the other elements within the tab order. Is there a way to pause or prevent the pointer to move to the other elements when a variable is TRUE?
Here is the help sections for visual elements rectangle. https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_elem_rectangle.html Under "Font Variable" there is "Color" which is a Dword, you can make a variable that changes colour within your code to the color needed. Note the format for the Dword variable is: colorVariable := 16#TTRRGGBB Where: TT = Transparency 00-FF RE = Red 00-FF GG = Green 00-FF BB = Blue 00-FF https://content.helpme-codesys.com/en/CODESYS%20Visualization/_vi...
Here is the help sections for visual elements rectangle. https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_elem_rectangle.html Under "Font Variable" there is "Color" which is a Dword, you can make a variable that changes colour within your code to the color needed. Note the format for the Dword varible is: colorVariable := 16#TTRRGGBB Where: TT = Transparency 00-FF RE = Red 00-FF GG = Green 00-FF BB = Blue 00-FF https://content.helpme-codesys.com/en/CODESYS%20Visualization/_vis...
You can use Not(Variable) in that Invisible spot. Example if you want it to be invisible when the bool is false then: Not(True) = False Not(False) = True
That works, thanks, I was trying to get a variable into the Position>Height and was struggling, then I was using absolute movement, never though to try relative movement.