Change Report Object Value

Hi , Have a good day all ...
I was playing around fast report .net with C# , and it's really amazing for me and nearly perfect ... ,, thank you FR team for this charming piece
Ok , then ,,,,
I wonder if there is an easy way , to change an Object value within Fast report from my C# Application ... at run time
for example
I have an TextObject within Fast Report ...with Name "MyText" , and it's not connected to any data source
I want to find an easy way .... to change "MyText".Value .... with out using any data source
as far as I got ....
I was playing around fast report .net with C# , and it's really amazing for me and nearly perfect ... ,, thank you FR team for this charming piece
Ok , then ,,,,
I wonder if there is an easy way , to change an Object value within Fast report from my C# Application ... at run time
for example
I have an TextObject within Fast Report ...with Name "MyText" , and it's not connected to any data source
I want to find an easy way .... to change "MyText".Value .... with out using any data source
as far as I got ....
((FastReport.TextObject)report1.AllObjects[2]).Value = "myvalue";
[img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
but nothing help .....[/img][img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
thank in advance .....[/img]
Comments
Try the following:
By the way
1. the demo will throw an exception when i use "Edit Page" in Preview from or invoke "Design form".
2. when i change Orientation.Portrait to Orientation.Landscape and "Apply to all pages" is not checked in Preview from, then. the CurrentPage may be not cover the data
2) that's why you have to check the "Apply to all pages". I will rename its caption to make it more clear.