Files correlati : Ricompilazione Demo : [ ] Commento :aggiunto il modulo TC nella 4.0 git-svn-id: svn://10.65.10.50/trunk@14826 c028cbd2-c16b-5b4b-a496-9718f37d4682
36 lines
701 B
C++
Executable File
36 lines
701 B
C++
Executable File
#include <tabapp.h>
|
|
|
|
#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;
|
|
}
|