StrataFrame Forum

Ability to disable buttons on MaintenanceFormToolstrip

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

By Greg McGuffey - 10/23/2008

I'd like to be able to enable/disable the new/edit/save/undo/delete buttons on the maintenaceformtoostrip, rather than only being able to hide/show them. I.e. have properties like EnableAdd, EnableDelete, EnableSaveUndo, etc. in addition to IncludeX properties.



Rational:

I have situations were data access is limited based on a value in the record (typically a status type field). I'm currently using the IncludeX properties, but then the toolstrip buttons are jumping around because the buttons are hidden/shown from record to record. This is most annoying when stepping through the records using the navigation controls, as they are jumping around.



Thanks!