Author Topic: KeypadPopUp as a button control  (Read 3494 times)

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
KeypadPopUp as a button control
« on: August 24, 2016, 06:30:00 PM »
For those who might need a control like this, attached is a KeypadPopUp Control in the form of a button.

You can drop it on the form and associate with multiple PLCAddressKeypad entries. Right-clicking the button will pop-up a menu with available addresses to choose from (at Runtime, the control will default to the first address entered).

Might be useful if you need a keypad with controls that don't have it built-in.
« Last Edit: December 28, 2016, 09:16:54 AM by Godra »

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: KeypadPopUp as a button control
« Reply #1 on: March 30, 2017, 11:59:19 AM »
The control attached in this post was tested with AHMI version 3.99w but might work with some previous versions as well.

It now includes the PasswordChar feature.
« Last Edit: March 30, 2017, 12:02:11 PM by Godra »

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: KeypadPopUp as a button control
« Reply #2 on: March 30, 2017, 12:31:20 PM »
For those who would like to experiment and try adding Keypad feature to AHMI controls that don't have it, attached is the text file with instructions.

This was tested with the WaterPump control and it worked fine (if you do find any bug then report it back).

You might also try replacing the existing Region within the AHMI controls which have Keypad, to possibly use new features (if any duplicate properties are found then remove 1 copy).

Archie also explained these changes here:

   https://advancedhmi.com/forum/index.php?topic=1660.0

« Last Edit: January 22, 2021, 12:30:35 AM by Godra »