예제 #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);
}