Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunti i metodi per sapere qual'è la colonna corrente dello sheet git-svn-id: svn://10.65.10.50/branches/R_10_00@20854 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3aeb5d28d6
commit
96349866da
@ -266,6 +266,8 @@ protected:
|
|||||||
|
|
||||||
// @access Public Member
|
// @access Public Member
|
||||||
public:
|
public:
|
||||||
|
// @cmember Restituisce il numero di colonna corrente
|
||||||
|
const int cur_column() const { return _cur_col; }
|
||||||
// @cmember Modifica a video la riga
|
// @cmember Modifica a video la riga
|
||||||
void update(int row);
|
void update(int row);
|
||||||
// @cmember Ritorna la disabilitazione della colonna <p col>
|
// @cmember Ritorna la disabilitazione della colonna <p col>
|
||||||
@ -3567,3 +3569,10 @@ bool TSheet_field::error_box(const char* fmt, ...) const
|
|||||||
msg[255] = '\0';
|
msg[255] = '\0';
|
||||||
return ((TSpreadsheet*)_ctl)->error_box(msg);
|
return ((TSpreadsheet*)_ctl)->error_box(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const int TSheet_field::current_column() const
|
||||||
|
{
|
||||||
|
TSpreadsheet* s = (TSpreadsheet*)_ctl;
|
||||||
|
int sel = s->_cur_col;
|
||||||
|
return sel;
|
||||||
|
}
|
@ -108,7 +108,6 @@ protected:
|
|||||||
|
|
||||||
// @access Public Member
|
// @access Public Member
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// @cmember Permette di mettere il focus su una cella
|
// @cmember Permette di mettere il focus su una cella
|
||||||
bool set_focus_cell_id(long rec, short cid);
|
bool set_focus_cell_id(long rec, short cid);
|
||||||
|
|
||||||
@ -284,6 +283,9 @@ public:
|
|||||||
|
|
||||||
bool esporta() const;
|
bool esporta() const;
|
||||||
|
|
||||||
|
// @cmember Restituisce il numero della colonna corrente
|
||||||
|
const int current_column() const;
|
||||||
|
|
||||||
virtual bool error_box(const char* fmt, ...) const;
|
virtual bool error_box(const char* fmt, ...) const;
|
||||||
|
|
||||||
// @cmember Costruttore
|
// @cmember Costruttore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user