Values are entered into a TextEditor. If the value is accepted then the value gets moved to another TextEditor. Each value is separated by a ;\r\n to force a new line. The TextEditor has a few values set. WordWrap is set to True, ShowOverFlowIndicator is set to true, and MultiLine is set to false.
In the current example I am entering a Zip Code. The two values in the TextEditor are 67501 and 67502. When these values are examined in debug the TextEditor text looks like this: 67501;\r\n67502
These values are loaded automatically when the user control tab first loads. The images will show that I have an overall tab called Accounts Receivable and two other tabs located underneath called Statements and Customer Listing. If the Customer Listing tab is loaded by itself or is the first tab loaded the over flow indicator shows correctly. If I load Statements and then load Customer Listing the over flow indicator does not show. To get the over flow indicator to show I must select the Statements tab and then reselect Customer Listing tab. This forces some kind of refresh and the over flow indicator shows again.
This image shows that the over flow indicator is not showing after being launched with the Statements tab already loaded.
This image shows that the over flow indicator is showing correctly after I have selected the Statements tab and reselected the Customer Listing tab.
Any ideas how I can fix this. I have tried refreshing the TextEditor but nothing seems to work.
Hi Michael,
It seems like whatever you are doing is simply not triggering the recreation of the UIElements for the control, or maybe not invalidating the control. That would explain why the Overflow indicator shows up when you switch tabs.
But it's hard to say without knowing exactly what you are doing and at what point the control has the text and the overflow indicator is not displaying.
I can tell you that the Overflow indicator is intended for cases where you have text that overflows the control to the right. In this case, where you have Multiline set to false and your text has a return character in it, the Overflow indicator is ambiguous at best. It was never intended for this purpose, so I'm not sure if it should even be displaying in this case.
Thank you for your quick response.
According to the TextEditor documentation the overflow indicator should appear when the display text is not completely visible. This means the text does not have to overflow to the right. If a TextEditor has WordWrap set to true and Multiline set to true and is ReadOnly the text would never overflow to the right but that does not mean all of the text is visible. Our users would need a way to see all of the text in the TextEditor. I guess that is how I would expect ShowOverFlowIndicator to work.
I have set Multiline to true and the TextEditor still reacted in the same manor.
I have created CAS-88664-BDQF1Y to facilitate further investigation of this issue and I will be following up with you via that case.
If you have any further questions in the meantime regarding this issue, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support