#ifndef __RELATION_H #include #endif #ifndef __UTILITY_H #include #endif #ifndef __EXPR_H #include #endif #ifndef __SHEET_H #include #endif class TCursor_sheet_RecNo : public TCursor_sheet { TBit_array _recnos; protected: virtual bool on_key(KEY k); public: TCursor_sheet_RecNo(TCursor * cursor, const char* fields, const char * title, const char * head, byte buttons = 0); virtual ~TCursor_sheet_RecNo() {} bool rec_checked(TRecnotype n) { return _recnos[n]; } void rec_check(TRecnotype n, bool on = TRUE) ; void rec_uncheck(TRecnotype n) { rec_check(n,FALSE); } };