I added an wxSpinCtrlDouble to my program. Once I set the minimum value to eg. 500 it is not possible to use the keyboard for new values in all cases. Once the value is fallen below the minium by eg. deleting the last digit, it isn't possible to write anything to this field using the keyboard.
Example implementation:
#include <wx/spinctrl.h> // [...] wxSpinCtrlDouble *test = new wxSpinCtrlDouble(sbExpWindow, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 500, 4095, 1100, 1);
With this example it isn't possible to write a new value using the keyboard if everything was selected and replaced by the value you typing.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
relates to #12968
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #23587 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
It's exactly the same as #23561 which was already closed because it's basically the same as #12968, so closing this one too.
FWIW I've outlined a simple solution in my last comment in #12968 but didn't have time to implement and test it yet. If anybody can make a PR doing this, please do.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()