Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1878
Problem with WinTextEditor when using app style file
posted

I've a problem with WinTextEditor controls when using app style file. Fortunately I've managed to extract the problem into a small project that I can forward to you. Unfortunately I do not see the possibility to upload the ZIP-file with the project in this forum anymore although I'm sure that I've done it before.

The example is rather simple. I've three text boxes that should display first, middle and last name. The middle name is optional while both first and last name are mandatory. What I'm doing in code is whenever those two text boxes have an invalid value I apply a different style set that is set in the style file to just have a yellow background. What happens now is that when I apply the style set the height of the text box changes. The strange thing here is that one text box gets 1 pixel less, the other 1 pixel more in height. I don't know if it is related to the UltraGridBagLayoutPanel I'm using but I leave that you guys ;-)

In this demo I'm simulating the event to validate the text boxes by pressing the button on the form.

Pls let me know how and where I can upload my ZIP-file with the demo project.

Regards,
Wolfgang

Parents Reply Children