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