| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //---------------------------------------------------------------------------
- #ifndef EditorPreferencesH
- #define EditorPreferencesH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "HistoryComboBox.hpp"
- //---------------------------------------------------------------------------
- class TEditorPreferencesDialog : public TForm
- {
- __published:
- TGroupBox *ExternalEditorGroup;
- TCheckBox *ExternalEditorTextCheck;
- TCheckBox *MDIExternalEditorCheck;
- TGroupBox *EditorGroup;
- TRadioButton *EditorInternalButton;
- TRadioButton *EditorExternalButton;
- THistoryComboBox *ExternalEditorEdit;
- TButton *ExternalEditorBrowseButton;
- TGroupBox *MaskGroup;
- TLabel *Label1;
- THistoryComboBox *MaskEdit;
- TButton *OkButton;
- TButton *CancelButton;
- TButton *HelpButton;
- void __fastcall ExternalEditorEditExit(TObject *Sender);
- void __fastcall ExternalEditorBrowseButtonClick(TObject *Sender);
- void __fastcall HelpButtonClick(TObject *Sender);
- void __fastcall ControlChange(TObject *Sender);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall MaskEditExit(TObject *Sender);
- public:
- virtual __fastcall TEditorPreferencesDialog(TComponent * Owner);
- void __fastcall Init(TEditorPreferencesMode Mode);
- bool __fastcall Execute(TEditorPreferences * Editor);
- private:
- TEditorPreferencesMode FMode;
- bool FAfterFilenameEditDialog;
- void __fastcall UpdateControls();
- };
- //---------------------------------------------------------------------------
- #endif
|