Page 1 of 1

How to change position of text at run time

Posted: Thu Apr 07, 2011 2:22 am
by swapnali2282
Hi,

In stimulsoft is it possible to change the position of text at run time?how to do that ?

Thanks ,
Swapnali

How to change position of text at run time

Posted: Thu Apr 07, 2011 5:56 am
by Alex K.
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.

How to change position of text at run time

Posted: Thu Apr 07, 2011 6:30 am
by swapnali2282
Hi,

suppose at design time I wrote same text (using text component)at position x 5.80 and Y 0.00.on perticular condition (if value came form Data Source is true) then
diplay that text on position x0.00 y0.00

means at run time based on condition i want to chage position of text .is it possible in stimulsoft?

How to do that?

How to change position of text at run time

Posted: Fri Apr 08, 2011 5:12 am
by Alex K.
Hello,

As a way, you can use the following code in BeforePrint event of text component.

Code: Select all

if (YourCondition)
	Text1.Left = 2;
else
	Text1.Left = 0;
Thank you.