Patch level : 10.0
Files correlati : 288 Ricompilazione Demo : [ ] Commento : 0001222: impostazione codice di ricerca se imposto il codice e poi clicco sulla lente di ingrandimento il codice non viene riportato nella ricerca che quindi parte dal codice più basso disponibile. verificato sia sulla stampa rendiconto che sul pagato. git-svn-id: svn://10.65.10.50/trunk@18601 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ffc20a7df8
commit
224e375269
@ -49,7 +49,7 @@ void TInfo_mask::add_row(const char* prompt, unsigned long value, int err)
|
||||
}
|
||||
|
||||
TInfo_mask::TInfo_mask()
|
||||
: TArray_sheet(-1, -1, 78, 20, TR("Informazioni"), "@16|@60")
|
||||
: TArray_sheet(-1, -1, 78, 20, TR("Informazioni"), "@18|@58")
|
||||
{
|
||||
const word ser_no = dongle().number();
|
||||
|
||||
|
@ -1012,11 +1012,11 @@ const char* TSpreadsheet::copy_cell2field(XI_OBJ* cell)
|
||||
txt = xi_get_text(cell, NULL, -1);
|
||||
|
||||
if (_edit_field->is_editable())
|
||||
{
|
||||
{
|
||||
if (_edit_field->class_id() == CLASS_ZOOM_FIELD)
|
||||
_edit_field->set(row(_cur_rec).get(cid2index(_edit_field->dlg())));
|
||||
const char* val = (const char*)((TEditable_field*)_edit_field)->win2raw(txt);
|
||||
_edit_field->set(val);
|
||||
_edit_field->set(row(_cur_rec).get(cid2index(_edit_field->dlg())));
|
||||
const char* val = (const char*)((TEditable_field*)_edit_field)->win2raw(txt);
|
||||
_edit_field->set(val);
|
||||
_edit_field->set_dirty(); // Get it dirty!
|
||||
}
|
||||
return _edit_field->get();
|
||||
@ -1219,7 +1219,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
||||
if (_edit_field && !_cell_dirty)
|
||||
{
|
||||
notify_change();
|
||||
_cell_dirty = TRUE;
|
||||
_cell_dirty = true;
|
||||
_edit_field->set_dirty();
|
||||
}
|
||||
break;
|
||||
@ -1564,7 +1564,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
||||
//gestione campi che non appaiono nello sheet ma che possono essere usati nelle ricerche
|
||||
//es: per evitare di avere il valore della prima colonna in una descrizione che si puo' usere..
|
||||
//..per le ricerche, ma che non appare nello sheet (es. ca2100a.uml)
|
||||
if (_edit_field->dlg() == FIRST_FIELD || _cur_col > 1)
|
||||
if (cid2index(_edit_field->dlg()) == 0 || _cur_col > 1)
|
||||
copy_cell2field();
|
||||
|
||||
_edit_field->set_dirty(_cell_dirty = spork); // TBT
|
||||
|
@ -541,16 +541,11 @@ TTree_window::TTree_window(int x, int y, int dx, int dy, WINDOW parent, TTree_fi
|
||||
NULL, NULL, NULL, 0, CHARY+2);
|
||||
|
||||
XVT_COLOR_COMPONENT xcc[8]; memset(xcc, 0, sizeof(xcc));
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND;
|
||||
xcc[0].color = NORMAL_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND;
|
||||
xcc[1].color = NORMAL_COLOR;
|
||||
xcc[2].type = XVT_COLOR_HIGHLIGHT;
|
||||
xcc[2].color = FOCUS_BACK_COLOR;
|
||||
xcc[3].type = XVT_COLOR_SELECT;
|
||||
xcc[3].color = FOCUS_COLOR;
|
||||
xcc[4].type = XVT_COLOR_BLEND;
|
||||
xcc[4].color = MASK_BACK_COLOR;
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND; xcc[0].color = NORMAL_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND; xcc[1].color = NORMAL_COLOR;
|
||||
xcc[2].type = XVT_COLOR_HIGHLIGHT; xcc[2].color = FOCUS_BACK_COLOR;
|
||||
xcc[3].type = XVT_COLOR_SELECT; xcc[3].color = FOCUS_COLOR;
|
||||
xcc[4].type = XVT_COLOR_BLEND; xcc[4].color = MASK_BACK_COLOR;
|
||||
xvt_ctl_set_colors(_ctrl, xcc, XVT_COLOR_ACTION_SET);
|
||||
}
|
||||
|
||||
@ -651,10 +646,8 @@ TOutlook_window::TOutlook_window(int x, int y, int dx, int dy, WINDOW parent, TO
|
||||
: TControl_host_window(x, y, dx, dy, parent, owner)
|
||||
{
|
||||
XVT_COLOR_COMPONENT xcc[4]; memset(xcc, 0, sizeof(xcc));
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND;
|
||||
xcc[0].color = BTN_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND;
|
||||
xcc[1].color = NORMAL_COLOR;
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND; xcc[0].color = BTN_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND; xcc[1].color = NORMAL_COLOR;
|
||||
|
||||
WIN_DEF wd; memset(&wd, 0, sizeof(wd));
|
||||
wd.wtype = WC_OUTLOOKBAR;
|
||||
@ -767,8 +760,7 @@ TSlider_window::TSlider_window(int x, int y, int dx, int dy, WINDOW parent, TSli
|
||||
: TField_window(0, 0, 0, 0, NULL, NULL)
|
||||
{
|
||||
XVT_COLOR_COMPONENT xcc[2]; memset(xcc, 0, sizeof(xcc));
|
||||
xcc[0].type = XVT_COLOR_BLEND;
|
||||
xcc[0].color = MASK_BACK_COLOR;
|
||||
xcc[0].type = XVT_COLOR_BLEND; xcc[0].color = MASK_BACK_COLOR;
|
||||
|
||||
set_owner(owner);
|
||||
WIN_DEF wd; memset(&wd, 0, sizeof(wd));
|
||||
@ -930,18 +922,12 @@ TProp_window::TProp_window(int x, int y, int dx, int dy, WINDOW parent, TProp_fi
|
||||
: TField_window(0, 0, 0, 0, NULL, NULL)
|
||||
{
|
||||
XVT_COLOR_COMPONENT xcc[8]; memset(xcc, 0, sizeof(xcc));
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND;
|
||||
xcc[0].color = NORMAL_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND;
|
||||
xcc[1].color = NORMAL_COLOR;
|
||||
xcc[2].type = XVT_COLOR_HIGHLIGHT;
|
||||
xcc[2].color = FOCUS_BACK_COLOR;
|
||||
xcc[3].type = XVT_COLOR_SELECT;
|
||||
xcc[3].color = FOCUS_COLOR;
|
||||
xcc[4].type = XVT_COLOR_BLEND;
|
||||
xcc[4].color = MASK_BACK_COLOR;
|
||||
xcc[5].type = XVT_COLOR_TROUGH;
|
||||
xcc[5].color = DISABLED_BACK_COLOR;
|
||||
xcc[0].type = XVT_COLOR_BACKGROUND; xcc[0].color = NORMAL_BACK_COLOR;
|
||||
xcc[1].type = XVT_COLOR_FOREGROUND; xcc[1].color = NORMAL_COLOR;
|
||||
xcc[2].type = XVT_COLOR_HIGHLIGHT; xcc[2].color = FOCUS_BACK_COLOR;
|
||||
xcc[3].type = XVT_COLOR_SELECT; xcc[3].color = FOCUS_COLOR;
|
||||
xcc[4].type = XVT_COLOR_BLEND; xcc[4].color = MASK_BACK_COLOR;
|
||||
xcc[5].type = XVT_COLOR_TROUGH; xcc[5].color = DISABLED_BACK_COLOR;
|
||||
|
||||
set_owner(owner);
|
||||
WIN_DEF wd; memset(&wd, 0, sizeof(wd));
|
||||
|
Loading…
x
Reference in New Issue
Block a user