campo-sirio/sc/sc2201.h
angelo b2aa454ff0 Nelle stampe scadenzario/scaduto e' stata tolta la condizione di filtro
sui malefici TCursor_sheet_recno (nonche' vaporizzati).
In compenso il filtro supplementare viene fatto nella preprocess_page().
Modifiche alla TSelection_ext_mask per farla funzionare anche con la
selezione su LF_PCON per descrizione. (Non ancora completa).


git-svn-id: svn://10.65.10.50/trunk@2229 c028cbd2-c16b-5b4b-a496-9718f37d4682
1995-12-02 11:48:29 +00:00

40 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_pcon_range(const char* des,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& cur_sheet();
TSelection_ext_mask(const char* name);
virtual ~TSelection_ext_mask();
};
#endif