MultiLineTextBox Get Content

Aug 23, 2010 at 12:26 PM

Hi

 

ist the mapping ControlType.Document == MultiLineTextBox correct?

 

How can I get or set values on it?

 

Throndorin

Aug 23, 2010 at 12:32 PM
Edited Aug 23, 2010 at 12:42 PM

update:

 

at Bricks.RuntimeFramework.ReflectedObject.Invoke(MethodInfo methodInfoObject[] arguments) in D:\bricks\Bricks.RuntimeFramework\ReflectedObject.cs: line 69
at Bricks.DynamicProxy.DynamicProxyInterceptors.Process(IInvocation invocationInterceptContext interceptedContext) in D:\bricks\Bricks\DynamicProxy\DynamicProxyInterceptors.cs: line 20
at White.Core.Interceptors.CoreInterceptor.Intercept(IInvocation invocation) in d:\white\Core\Interceptors\CoreInterceptor.cs: line 29
at Castle.DynamicProxy.AbstractInvocation.Proceed() in d:\OSS\Castle\Tools\Castle.DynamicProxy2\Castle.DynamicProxy\AbstractInvocation.cs: line 165
at MultilineTextBoxProxy44df7c481b4343ec943ca938d954e1bd.set_BulkText(String value)

 

actual use Keyboard.Instance.enter("Hello this is my beautiful comment");

 

there happens a strange behaviour :)

 

the last character is lost

so I enter:

"Hello this is my beautiful comment "



 

Coordinator
Sep 2, 2010 at 10:41 AM

what is the exception message

Sep 2, 2010 at 11:41 AM

1. Text Property returns empty text but there is text

2. BulkText = "value"  throws

 

General - No 3: Change the selected project, the properties of the selected project will be displayed: Theselected project is changed. The correct entries must be displayed. The property entries must be not equalafter selecting. The project entries must be different.: Bricks.BricksException : Error invoking MultilineTextBox.set_BulkText
  ----> System.NullReferenceException : Object reference not set to an instance of an object.
at Bricks.RuntimeFramework.ReflectedObject.Invoke(MethodInfo methodInfoObject[] arguments) in D:\bricks\Bricks.RuntimeFramework\ReflectedObject.cs: line 69
at Bricks.DynamicProxy.DynamicProxyInterceptors.Process(IInvocation invocationInterceptContext interceptedContext) in D:\bricks\Bricks\DynamicProxy\DynamicProxyInterceptors.cs: line 20
at White.Core.Interceptors.CoreInterceptor.Intercept(IInvocation invocation) in d:\white\Core\Interceptors\CoreInterceptor.cs: line 29
at Castle.DynamicProxy.AbstractInvocation.Proceed() in d:\OSS\Castle\Tools\Castle.DynamicProxy2\Castle.DynamicProxy\AbstractInvocation.cs: line 165
at MultilineTextBoxProxyfce9e9417dd24529892acdb428db35e2.set_BulkText(String value)
at ETS4SystemTest.DashBoard.Projects.ProjectGeneralTabTests.GeneralPropertiesChangeProjectSelectionTest() in ProjectGeneralTabTests.cs: line 185
--NullReferenceException
at White.Core.UIItems.TextBox.set_BulkText(String value) in d:\white\Core\UIItems\TextBox.cs: line 43
Coordinator
Sep 11, 2010 at 12:32 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.