Corretta la richiesta del font-name e font-size dalla maschera solo
se si tratta di editor base. git-svn-id: svn://10.65.10.50/trunk@2919 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
45da7bd5cd
commit
5186ac4a31
@ -2433,9 +2433,12 @@ bool TPrint_section::detail_field_handler(TMask_field& f, KEY k)
|
||||
if (k == K_SPACE)
|
||||
{
|
||||
|
||||
TString80 name(_msk->get(F_FONT));
|
||||
int size = _msk->get_int(F_SIZE);
|
||||
repos_fields(name, size);
|
||||
if (_cur_form && TString(_cur_form->section_mask()).left(2) == "ba")
|
||||
{
|
||||
TString80 name(_msk->get(F_FONT));
|
||||
int size = _msk->get_int(F_SIZE);
|
||||
repos_fields(name, size);
|
||||
}
|
||||
|
||||
bool consider_sheet_mask = FALSE;
|
||||
if (f.mask().is_running()) // Se la maschera di editing dello sheet e' running
|
||||
@ -2709,10 +2712,13 @@ bool TPrint_section::detail_field_notify (TSheet_field& s, int r, KEY k)
|
||||
else
|
||||
if (k == K_SPACE)
|
||||
{
|
||||
TString80 name(s.mask().get(F_FONT));
|
||||
int size = s.mask().get_int(F_SIZE);
|
||||
repos_fields(name,size);
|
||||
s.force_update();
|
||||
if (_cur_form && TString(_cur_form->section_mask()).left(2) == "ba")
|
||||
{
|
||||
TString80 name(s.mask().get(F_FONT));
|
||||
int size = s.mask().get_int(F_SIZE);
|
||||
repos_fields(name,size);
|
||||
s.force_update();
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user