Patch level :12.00 1350

Files correlati     : ve0.exe

Commento:
Modifica movimenti contabile e analitici con Shift-F9
This commit is contained in:
Alessandro Bonazzi 2024-09-15 18:05:41 +02:00
parent 5d75fbb8ab
commit 01647c540f
2 changed files with 15 additions and 0 deletions

View File

@ -2576,6 +2576,19 @@ TGolem_field& TMask::add_golem_tool(short id, const char* prompt, const char* fl
return *g;
}
void TMask::add_item(TMask_field & fld, const char * item)
{
TFilename tmp; tmp.temp("use");
ofstream out(tmp);
out << item;
out.close();
TScanner scan(tmp);
while (scan.pop() != "EN")
fld.parse_item(scan);
}
// @doc EXTERNAL
// @mfunc Salva i valori dei campi della maschera sul file di salvataggio

View File

@ -245,6 +245,8 @@ public:
TButton_tool& add_button_tool(short id, const char* prompt, short bmpup);
// @cmember Aggiunge runtime un campo golem alla toolbar
TGolem_field& add_golem_tool(short id, const char* prompt, const char* flags, bool archive, short bmpup = 0, short bmpdn = 0);
// @cmember Aggiunge runtime un campo sheet alla maschera
void add_item(TMask_field & fld, const char * item);
// @cmember Ritorna il numero di campi della maschera
int fields() const