Closed RedDot-3ND7355 closed 8 months ago
Hi,
Does it happens when using MaterialTextBox
or MaterialTextBox2
control ?
If you are using MaterialTextBox
I suggest you to replace it by MaterialTextBox2
control.
Yes, I'll try switching the controls to MaterialTextBox2 instead. I'll give you an update if it fixes it! :)
@RedDot-3ND7355 , this issue can be closed?
@orapps44 i think Password attribute is problem https://github.com/IgnaceMaes/MaterialSkin/issues/272
The issue is caused if the Password attribute is true and the control contains text when form gets closed. Can be resolved by clearing textbox text on form close event.
Password attribute was indeed the issue!
When closing a child form that has a or more textboxes. (That is filled- non empty) The process hangs. And then forced to close the app via taskmanager.
The mainthread is probably locked due to this.
The solution I had to resort to was to empty the text fields and then close the child form.