campo-sirio/sc/sc2201.h
angelo 94be0ac694 Modificata la stampa dello scadenzario. Aggiunta la possibilita' di
usare una TSelection_mask derivata, per effettuare la selezione anche
sul piano dei conti. Analogamente per sc2300 (stampa scaduto).
La TSelection_ext_mask e' stata messa in sc2201.h e sc2201.cpp, mentre
il TCursor_sheet_recno, da usare nei filtri, e' stato spostato in
scselect.cpp e scselect.h.


git-svn-id: svn://10.65.10.50/trunk@2225 c028cbd2-c16b-5b4b-a496-9718f37d4682
1995-12-01 16:40:11 +00:00

39 lines
1.0 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_recno* _pcon_sh_k1;
TCursor_sheet_recno* _pcon_sh_k2;
protected:
void select_pcon_range(int grf, int cof,long sof,int grt,int cot, long sot);
void set_pcon_limits();
virtual void reset_sheets();
static bool bfrompcon_handler(TMask_field& f, KEY k);
static bool btopcon_handler(TMask_field& f, KEY k);
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);
public:
virtual TCursor_sheet_recno& cur_sheet();
TSelection_ext_mask(const char* name);
virtual ~TSelection_ext_mask();
};
#endif