Alan,
You can not delete inherited member objects of a class at designtime.
You can delete them at runtime using RemoveObject() calls. You might want to go through and set the Tag = "delete me" for the seperators you want to remove and then you can iterate the objects[] collection in the toolbar.Init() and get rid of them
for each loObject in this.Objects
if ( loObject.Tag == "delete me" )
this.RemoveObject( loObject.Name )
endif
endfor
>Using VFP 8, I have a maintenance form toolbar class containing the usual add/edit/delete/print etc. buttons. I want to change the spacing between buttons by inserting some more separators and deleting others.
>
>The problem is that when I save the modified class, and reopen it, the new separators have gone and deleted ones have returned! It's as if I never edited it in the first place! The same thing happens if I try and subclass the toolbar class and make changes to the subclass.