Patch level : 10.0 225
Files correlati : Ricompilazione Demo : [ ] Commento : Rportata la versione 3.2 patch 1314 git-svn-id: svn://10.65.10.50/trunk@18274 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
effb052955
commit
f9d4932d0f
@ -30,6 +30,18 @@ public:
|
||||
TPrinter_font_mask(XVT_FNTID font);
|
||||
};
|
||||
|
||||
bool TReport_base_mask::choose_printer_font(XVT_FNTID font)
|
||||
{
|
||||
TPrinter_font_mask m(font);
|
||||
const bool ok = m.run() == K_ENTER;
|
||||
if (ok)
|
||||
{
|
||||
xvt_font_set_family(font, m.get(102));
|
||||
xvt_font_set_size(font, m.get_int(103));
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
bool TPrinter_font_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
||||
{
|
||||
PRINT_RCD* rcd = printer().get_printrcd();
|
||||
|
@ -81,6 +81,8 @@ class TReport_base_mask : public TAutomask
|
||||
TReport_font _font;
|
||||
bool _font_changed;
|
||||
|
||||
bool choose_printer_font(XVT_FNTID font);
|
||||
|
||||
protected:
|
||||
TReport& _report;
|
||||
char _halign, _valign;
|
||||
|
Loading…
x
Reference in New Issue
Block a user