⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editorsinplacedemocarinfo.h

📁 delphi的的三方控件
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef EditorsInPlaceDemoCarInfoH
#define EditorsInPlaceDemoCarInfoH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxControls.hpp"
#include "cxDBVGrid.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxInplaceContainer.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxStyles.hpp"
#include "cxVGrid.hpp"
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TEditorsInPlaceDemoCarInfoForm : public TForm
{
__published:	// IDE-managed Components
  TPanel *pnlCarInfo;
  TcxDBVerticalGrid *vgCarInfo;
  TcxDBMultiEditorRow *vgCarInfoCar;
  TcxDBMultiEditorRow *vgCarInfoCategory;
  TcxDBEditorRow *vgCarInfoImage;
  TcxDBMultiEditorRow *vgCarInfoLargeImageAndPrice;
  TcxDBMultiEditorRow *vgCarInfoEngine;
  TcxDBMultiEditorRow *vgCarInfoTransmission;
  TcxDBMultiEditorRow *vgCarInfoMPG;
  TcxDBMultiEditorRow *vgCarInfoWebSite;
  TcxDBEditorRow *vgCarInfoDescription;
  TcxDBEditorRow *vgCarInfoID;
  TPanel *Panel2;
  TcxButton *btnOk;
  TcxButton *btnCancel;
  void __fastcall GetDisplayText(TcxCustomEditorRowProperties *Sender,
    int ARecord, String &AText);
  void __fastcall vgCarInfoStylesGetContentStyle(TObject *Sender,
    TcxCustomEditorRowProperties *AEditProp, bool AFocused, int ARecordIndex,
    TcxStyle *&AStyle);
  void __fastcall vgCarInfoLeftVisibleRecordIndexChanged(TObject *Sender);
  void __fastcall cxButtonClick(TObject *Sender);
  void __fastcall OnEditPropertiesButtonClick(TObject *Sender);
private:
  TcxPopupEdit *FPopupEdit;
  bool FAccepted;
  Variant FEditValue;
  void __fastcall ClosePopup(bool AAccepted);
public:
  __fastcall TEditorsInPlaceDemoCarInfoForm(TComponent* Owner);
  void __fastcall InitPopupPanel(Variant ACarID);
  __property TcxPopupEdit *PopupEdit = {read=FPopupEdit, write=FPopupEdit};
  __property bool Accepted = {read=FAccepted, write=FAccepted};
  __property Variant EditValue = {read=FEditValue};
};
//---------------------------------------------------------------------------
extern PACKAGE TEditorsInPlaceDemoCarInfoForm *EditorsInPlaceDemoCarInfoForm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -