errform.h
来自「《C Builder 5程序设计——数据库应用实务篇》程序源代码」· C头文件 代码 · 共 46 行
H
46 行
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef errformH
#define errformH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <System.hpp>
#include <Db.hpp>
#include <Dbtables.hpp>
//---------------------------------------------------------------------------
class TUpdateErrorForm : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *UpdateType;
TLabel *Label3;
TLabel *ErrorText;
TStringGrid *UpdateData;
TButton *RetryButton;
TButton *SkipButton;
TButton *AbortButton;
void __fastcall FormDestroy(TObject *Sender);
void __fastcall UpdateDataSetEditText(TObject *Sender, int ACol,
int ARow, const AnsiString Value);
void __fastcall FormCreate(TObject *Sender);
private: // User declarations
TStringList *FDataFields;
void __fastcall GetFieldValues(TDataSet *DataSet);
void __fastcall SetFieldValues(TDataSet *DataSet);
public: // User declarations
virtual __fastcall TUpdateErrorForm(TComponent* Owner);
TUpdateAction __fastcall HandleError(TDataSet *DataSet, EDatabaseError *E,
TUpdateKind UpdateKind);
};
//---------------------------------------------------------------------------
extern TUpdateErrorForm *UpdateErrorForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?