campo-sirio/sc/sc2201.h
angelo dd514ba4b5 Cambiata la dimensione del Cursor sheet di selezione clienti/fornitori
e conti. Inclusi gli handler del K_F9 negli handler dei campi per
la ricerca su conti.


git-svn-id: svn://10.65.10.50/trunk@2965 c028cbd2-c16b-5b4b-a496-9718f37d4682
1996-06-04 16:12:29 +00:00

41 lines
1.1 KiB
C++
Executable File

#ifndef __SC2201_H
#define __SC2201_H
#ifndef __SCSELECT_H
#include "scselect.h"
#endif
class TSelection_ext_mask : public TSelection_mask
{
TRelation* _pcon_rel;
TCursor* _pcon_cur_k1;
TCursor* _pcon_cur_k2;
TCursor_sheet* _pcon_sh_k1;
TCursor_sheet* _pcon_sh_k2;
protected:
void select_pcon_range(int grf, int cof,long sof,int grt,int cot, long sot);
void select_des_pcon_range(const TString& from, const TString& to);
void set_pcon_limits();
void set_des_pcon_limits();
virtual void reset_sheets();
static bool ffrompcon_handler(TMask_field& f, KEY k);
static bool ftopcon_handler(TMask_field& f, KEY k);
static bool bresetpcon_handler(TMask_field& f, KEY k);
static bool bselectpcon_handler(TMask_field& f, KEY k);
static bool rpcon_handler(TMask_field& f, KEY k);
static bool rsortpcon_handler(TMask_field& f, KEY k);
static bool fdfrompcon_handler(TMask_field& f, KEY k);
static bool fdtopcon_handler(TMask_field& f, KEY k);
public:
virtual TCursor_sheet& cur_sheet();
TSelection_ext_mask(const char* name);
virtual ~TSelection_ext_mask();
};
#endif