Corretto firstfocus
git-svn-id: svn://10.65.10.50/trunk@3261 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5b799db2a5
commit
d06d86c6c0
@ -1011,6 +1011,7 @@ TCursor_sheet::TCursor_sheet(TCursor* cursor, const char* fields,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HIDDEN bool _can_post = FALSE;
|
||||||
|
|
||||||
KEY TCursor_sheet::run()
|
KEY TCursor_sheet::run()
|
||||||
{
|
{
|
||||||
@ -1018,7 +1019,8 @@ KEY TCursor_sheet::run()
|
|||||||
_cursor->freeze(TRUE);
|
_cursor->freeze(TRUE);
|
||||||
|
|
||||||
select(_cursor->pos());
|
select(_cursor->pos());
|
||||||
post_select(_cursor->pos());
|
// post_select(_cursor->pos());
|
||||||
|
_can_post = TRUE;
|
||||||
|
|
||||||
const KEY k = TSheet::run();
|
const KEY k = TSheet::run();
|
||||||
_cursor->freeze(FALSE);
|
_cursor->freeze(FALSE);
|
||||||
@ -1044,7 +1046,6 @@ void TCursor_sheet::get_row(long row, TToken_string& l)
|
|||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
|
|
||||||
HIDDEN TBrowse_sheet* _cur_browse = NULL;
|
HIDDEN TBrowse_sheet* _cur_browse = NULL;
|
||||||
HIDDEN bool _can_post = FALSE;
|
|
||||||
|
|
||||||
bool TBrowse_sheet::browse_field_handler(TMask_field& f, KEY k)
|
bool TBrowse_sheet::browse_field_handler(TMask_field& f, KEY k)
|
||||||
{
|
{
|
||||||
@ -1203,6 +1204,7 @@ bool TBrowse_sheet::on_key(KEY k)
|
|||||||
KEY TBrowse_sheet::run()
|
KEY TBrowse_sheet::run()
|
||||||
{
|
{
|
||||||
_cur_browse = this;
|
_cur_browse = this;
|
||||||
|
|
||||||
const KEY key = TCursor_sheet::run();
|
const KEY key = TCursor_sheet::run();
|
||||||
_cur_browse = NULL;
|
_cur_browse = NULL;
|
||||||
return key;
|
return key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user