vdkxdb 2.4.0
vdkxmemo.h
1 /*
2  * ===========================
3  * VDK Visual Development Kit
4  * xdb subsystem
5  * Version 0.1
6  * Revision 0.0
7  * April 2000
8  * ===========================
9  *
10  * Copyright (C) 1998, Mario Motta
11  * Developed by Mario Motta <mmotta@guest.net>
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Library General Public
15  * License as published by the Free Software Foundation; either
16  * version 2 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * Library General Public License for more details.
22  *
23  * You should have received a copy of the GNU Library General Public
24  * License along with this library; if not, write to the Free Software
25  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26  * 02111-1307, USA.
27  */
28 
29 #ifndef _vdkxmemo_h
30 #define _vdkxmemo_h
31 #include <vdkxdb2/vdkxctrl.h>
32 #include <vdk/vdktextview.h>
33 
34 
41 class VDKXMemo: public VDKTextView, public VDKXControl
42 {
43 
44  protected:
45 
46  public:
47 
49  VDKXMemo(VDKForm* owner);
51  virtual ~VDKXMemo() {}
55  virtual xbShort Read();
59  virtual xbShort Write();
69  virtual bool AssignTableField(VDKXTable* table,char* fname);
71  char* tablename,
72  char* fieldname)
73  {
74  return VDKXControl::AssignTableField(xdb,tablename,fieldname);
75  }
76 };
77 #endif