AdvancedHMI Software

General Category => Support Questions => Topic started by: eiynckj on July 17, 2020, 10:19:51 AM

Title: +/- Button missing from keypad
Post by: eiynckj on July 17, 2020, 10:19:51 AM
My first venture into this product and find it quite easy to use. My only issue I can't solve is when using the analog value display, and entering a value, the keypad that comes up is missing the +/- button display and functionality. The button is visible, but no text or functionality. I have searched this forum to no avail. I am running version 3.99x. Is this easily fixed or do I have to move to newer beta version?
Title: Re: +/- Button missing from keypad
Post by: Archie on July 17, 2020, 10:46:18 AM
Change KeypadMinValue property to something less than 0 (e.g. -99999)
Title: Re: +/- Button missing from keypad
Post by: eiynckj on July 17, 2020, 11:42:04 AM
Keypad Min Value was -2. Unchanged from before. Issue persists.
Title: Re: +/- Button missing from keypad
Post by: Archie on July 17, 2020, 12:08:19 PM
I tested it on V3.99y so it did appear to work. I will need to see if 3.99x can be made to work.
Title: Re: +/- Button missing from keypad
Post by: eiynckj on July 17, 2020, 12:11:33 PM
I switched keypad from keypad to keypadv2. Looks less pretty, but works. Which is all I need.
Title: Re: +/- Button missing from keypad
Post by: Archie on July 17, 2020, 12:15:58 PM
To make V3.99x work:

- In Solution Explorer expand down AdvancedHMIControls
- Expand down the \Controls folder
- Right Click AnalogValueDispay.vb and select View Code
- Go to Line 678 and add this line of code below PromptNewValue
Code: [Select]
    Private Sub PromptNewValue()
        KeypadPopUp.MinValue = m_KeypadMinValue