News:

SMF - Just Installed!

Main Menu

Help with the Keypad() function, click event on HMI

Started by fredz0003, April 21, 2012, 03:33:11 AM

Previous topic - Next topic

fredz0003

Hi everyone, I have a question I have a textbox linked to an int variable, I have a click event for that textbox, in the event code I just have an HMI.KeyPad(); so when I type in a number on the keypad the value doesn't appear on the textbox, I realize I am missing some code but I don't know how to do it? Any suggestions?

EasyPLC_Master



EasyPLC_Master

The code that you can use is:

TextBox1.Text = HMI.KeyPad().ToString();

Then if TextBox1 is linked to any variable, this variable will copy the value.