示例:
在窗体的run()里调用如下方法:
public void sbxSetFormControls()
{
//set which enum can be used for product type
FormComboBoxControl pmfProductTypeControl = this.design().controlName(formControlStr(EcoResProductDetailsExtended, SBXSalesProperties_PmfProductType));
pmfProductTypeControl.delete(enum2Str(PmfProductType::Co_Product));
pmfProductTypeControl.delete(enum2Str(PmfProductType::By_Product));
pmfProductTypeControl.delete(enum2Str(PmfProductType::MainItem));
pmfProductTypeControl.delete(enum2Str(PmfProductType::Formula));
}