Componentes.Terceros.DevExp.../official/x.26/ExpressBars 6/Demos/CBuilder/RibbonNotepadDemo/RibbonNotepadDemoOptions.h
2007-09-09 11:27:27 +00:00

36 lines
1.2 KiB
C++

//---------------------------------------------------------------------------
#ifndef RibbonNotepadDemoOptionsH
#define RibbonNotepadDemoOptionsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
struct TScreenTipOptions
{
bool ShowScreenTips;
bool ShowDescripitons;
};
class TRibbonDemoOptionsForm : public TForm
{
__published: // IDE-managed Components
TComboBox *cbColorScheme;
TComboBox *cbScreenTipStyle;
TLabel *lblColorScheme;
TLabel *lblScreenTipStyle;
TButton *Button1;
TButton *Button2;
private: // User declarations
public: // User declarations
__fastcall TRibbonDemoOptionsForm(TComponent* Owner);
bool __fastcall GetOptions(String &AColorSchemeName, TScreenTipOptions &AScreenTipOptions);
};
//---------------------------------------------------------------------------
extern PACKAGE TRibbonDemoOptionsForm *RibbonDemoOptionsForm;
//---------------------------------------------------------------------------
#endif