Page 1 of 1

How to suppress deleting a component?

Posted: Wed Jan 13, 2010 10:48 am
by munich
Hello,

I would like to prevent the user from deleting a certain component of a report in designer. How can this be done?

I use the designer calling StiReport.Design().

Thanks for any help.

Yours
munich

How to suppress deleting a component?

Posted: Wed Jan 13, 2010 12:32 pm
by Brendan
Hi,

You can use the Restrictions property on your component to define what restrictions you wish to impose.
Uncheck the 'Allow Delete' restriction to prevent the component from being deleted.

How to suppress deleting a component?

Posted: Thu Jan 14, 2010 1:01 am
by munich
Hello Brendan,

Perfect, I thank you very much.

Yours
munich