StrataFrame Forum

Disable delete on toolbar

http://forum.strataframe.net/Topic14610.aspx

By Doug Birtell - 2/28/2008

I have a SF maintenance form that has a main BO bound to it.  Becaue of the unique nature of the data, I do not want the users to be able to delete records in the BO.  How do I disable the delete button?  Via the form/tools strip or the BO. I've tried both and can not find a way to make it happen.

Thanks!

By Trent L. Taylor - 2/28/2008

Set the IncludeDeleteButton propety to False on the MaintenanceFormToolstrip.
By Doug Birtell - 2/28/2008

Trent,

Ok, I now feel like a real idiot.  I'm not sure how I missed that.

A very humble "thank you",

By Trent L. Taylor - 2/28/2008

LOL...no problem...I have done it a million times Smile