Hello Catalin,
Thanks for the reply.
Catalin wrote: ↑Thu Nov 17, 2022 4:43 pm
What you could try, however, is schedule the custom action that you want to be executed on the
"Next" button of the dialog where the
"Textbox" control is placed.
I already tried that before. But that was not enough for my specific scenario unfortunately. I'll try to explain my usecase:
I have a dialog with two textboxes: Username / Password and two buttons:
Test Connection /
Next.
At the beginning, the
Next-button is disabled. I let the user fill in the Username / Password-textboxes for the ODBC connection and then the user can test the connection using the
Test Connection-button. As soon as the
Test Connection-button is pressed, a 'Fail' or 'Success' is indicated via showing an icon and if 'Success' is shown then also the
Next-button is enabled. Now the user is able to change the Username / Password again, and that would be the trigger for me to resetting the (Fail/Success) state and disabling the Next-button again.
To do so, I optimally would be able to either have:
1. An event that is triggered upon entering text in the textbox
2. An event that is trigger upon the change of a Property (in my case the textbox's Property)
3. An event that is triggered upon changing focus/selection on the UI
I can only think of worse solutions from a UX point of view if I don't have access to one of those three features.
Do you have any suggestions on how I can achieve my desired behavior?
Best regards,
Johannes