Skip to content

Numeric updown control value not returned when toolbar button clicked #117

Closed

Description

@itg-assistant

Nic Adams asked 2016-06-17 14:03:08 UTC

  • Create a simple form

  • Add a toolbar and a toolbar button

  • Add a textbox control

  • Add a numeric updown control

  • In the toolbar_buttonClick event add a messagebox to show the value of the numeric updown.

Run the application

  • Tab down to the numeric up/down and type a value.

  • Without leaving the control or clicking on the +/- click the toolbar button

  • The messagebox will display the initial value of the numeric up/down not the value you typed.

I've attached a sample as described.

Nic

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2016-06-17 16:28:47 UTC

    Hi Nic,

    thanks for your description and test case.

    I have logged the problem as WJ-7363.

    Best regards
    Frank

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Nelson Ornelas answered 2020-06-18 11:01:33 UTC

    I’m having the same problem right now, with version: 2.1.75.0

    it only works if i change to another control before click on tollbar button or press the “Enter” key then click on toolbar

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2020-06-18 17:42:17 UTC

    Nelson, can you please share a sample? Thanks, Frank

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Nelson Ornelas answered 2020-06-22 17:24:42 UTC

    hi Frank, I was building a sample and didn´t can get replicate the error, control works ok in many ways, also with a new control that I put in my app,but then I realized that´s problem only fired when I put some text in the control´s label property, if there´s some text in, the problem ocours, otherwise don´t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions