vdkxcheckbutton.h

00001 /*
00002  * ===========================
00003  * VDK Visual Development Kit
00004  * xdb subsystem
00005  * Version 0.1
00006  * Revision 0.0
00007  * April 2000
00008  * ===========================
00009  *
00010  * Copyright (C) 1998, Mario Motta
00011  * Developed by Mario Motta <mmotta@guest.net>
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Library General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Library General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Library General Public
00024  * License along with this library; if not, write to the Free Software
00025  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00026  * 02111-1307, USA.
00027  */
00028 
00029 #ifndef _vdkxcbutton_h
00030 #define _vdkxcbutton_h
00031 #include <vdkxdb2/vdkxctrl.h>
00032 #include <vdk/checkbutton.h>
00033 
00034 
00041 class VDKXCheckButton: public VDKCheckButton, public VDKXControl
00042 {
00043 
00044  protected:
00045 
00046  public:
00047 
00054   VDKXCheckButton(VDKForm* owner, 
00055                   char* label = (char*) NULL, 
00056                   char* tip = (char*) NULL);
00058   virtual ~VDKXCheckButton() {}
00062   virtual xbShort Read();
00066   virtual xbShort Write(); 
00076   virtual bool AssignTableField(VDKXTable* table,char* fname);
00087   bool AssignTableField(VDKXDatabase* xdb,
00088                                 char* tablename,
00089                                 char* fieldname)
00090     { 
00091       return VDKXControl::AssignTableField(xdb,tablename,fieldname);
00092     }
00093 };
00094 #endif

Generated on Sun Oct 16 22:28:37 2005 for vdkxdb 2.4.0 by  doxygen 1.4.5