//--------------------------------------------------------------------------- void __fastcall TFullSynchronizeDialog::CopyParamGroupContextPopup( TObject * /*Sender*/, TPoint & MousePos, bool & Handled) { if (FLAGCLEAR(FOptions, fsoDoNotUsePresets)) { CopyParamListPopup(CalculatePopupRect(CopyParamGroup, MousePos), cplCustomizeDefault); Handled = true; } }
//--------------------------------------------------------------------------- void __fastcall TCopyDialog::TransferSettingsButtonClick(TObject * /*Sender*/) { if (FLAGCLEAR(FOptions, coDoNotUsePresets) && !SupportsSplitButton()) { CopyParamListPopup(CalculatePopupRect(TransferSettingsButton), 0); } else { CopyParamGroupClick(NULL); } }
//--------------------------------------------------------------------------- void __fastcall TFullSynchronizeDialog::TransferSettingsButtonDropDownClick(TObject * /*Sender*/) { CopyParamListPopup(CalculatePopupRect(TransferSettingsButton), cplCustomizeDefault); }