I have a tree object in a grid layout and on top of this sits a text field (it's there temporarily to display some messages). The tree updates are disabled during loading and in this state if any text is sent to the text field, it will just get displayed on whatever was in the text field before. So if you do this:
textfield1.text("some text");
textfield1.text("more text on top");
textfield1.text("and some more);
it all ends up displayed at the same time without the text field being cleared, so it ends up in a jumbled mess. If I enable tree updates on the tree object, the text field is cleared properly. To me this is a bug as updatesEnabled on the tree object shouldn't affect the text field object, but perhaps this is how "updates" work ie. a specific portion of the screen is simply not refreshed and anything in that portion of the screen is affected?
TREE1 updates disabled and text field behaviour overlayed on top
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
TREE1 updates disabled and text field behaviour overlayed on top
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: TREE1 updates disabled and text field behaviour overlayed on top
I have tested it with a simple panel without a grid layout and I cannot reproduce it.
The version I was using is 3.19 + P003.
Which version are you using?
Do you have a simple example?
Best Regards
Leopold Knipp
Senior Support Specialist
The version I was using is 3.19 + P003.
Which version are you using?
Do you have a simple example?
Best Regards
Leopold Knipp
Senior Support Specialist