Hi
I thought it wouldn't be possible to write code other than expressions inside a report via designer. But I just discovered it is possible, then I would like to know if you could point me to some documentation.
Some questions I have: can I modify components position in code? What expressions/statements can I write?
Thanks
Using scripts in designer
Using scripts in designer
Hello.
For example, you could move text component in the Before print event with next code:
Thank you.
You could use any C# or VB statement. It's depends on what language do you use.André wrote:I thought it wouldn't be possible to write code other than expressions inside a report via designer. But I just discovered it is possible, then I would like to know if you could point me to some documentation.
Some questions I have: can I modify components position in code? What expressions/statements can I write?
For example, you could move text component in the Before print event with next code:
Code: Select all
this.Text1.Left = 8
Using scripts in designer
Thanks!
Can I refer in such code to a global variable like 'page number'?
Can I refer in such code to a global variable like 'page number'?
Using scripts in designer
Hello.
Thank you.
You could refer to a report variables. If you need to pass variable value from your project you should use next code:André wrote:Can I refer in such code to a global variable like 'page number'?
Code: Select all
rep.Dictionary.Variables["Variable1"].ValueObject = dateTimePicker1.Value;