2007-01-31 16:15:26 +00:00
|
|
|
#include <tabapp.h>
|
2007-03-16 13:33:09 +00:00
|
|
|
#include <tabutil.h>
|
2007-01-31 16:15:26 +00:00
|
|
|
|
|
|
|
#include "tc0.h"
|
|
|
|
#include "tcts.h"
|
|
|
|
|
|
|
|
|
|
|
|
class TTeamSystem_multirel_app : public TMultirel_application
|
|
|
|
{
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void get_mask_name(TString& tabname) const;
|
|
|
|
//magico metodo per impedire la navigazione su tabelle diverse da quella corrente del cursore
|
|
|
|
virtual bool has_filtered_cursor() const { return true; }
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
TTeamSystem_multirel_app() {}
|
|
|
|
virtual ~TTeamSystem_multirel_app() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void TTeamSystem_multirel_app::get_mask_name(TString& tabname) const
|
|
|
|
{
|
|
|
|
TMultirel_application::get_mask_name(tabname);
|
|
|
|
tabname.overwrite("ts", 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
int tc0500(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
TTeamSystem_multirel_app a;
|
|
|
|
a.run(argc, argv, TR("Tabella"));
|
|
|
|
return 0;
|
|
|
|
}
|