This example demonstrates how to add custom buttons to CalcEdit's popup form. It is necessary to create a CalcEdit descendant, override its CreatePopupForm and return a PopupCalcEditForm descendant. After that override the PopupCalcEditForm's ShowPopupForm method and add the required buttons to its Control collection.
Image may be NSFW.
Clik here to view.