Patch level : 10.0

Files correlati     : fe0.exe
Ricompilazione Demo : [ ]
Commento            :
Aggiunto identificatore bottoni Copy & Paste


git-svn-id: svn://10.65.10.50/branches/R_10_00@22525 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2011-12-16 16:25:52 +00:00
parent c6b9f7d8db
commit 3ff0294297
2 changed files with 5 additions and 1 deletions

View File

@ -46,6 +46,8 @@
#define DLG_PACKTMAG 42 /* TAG del bottone Pacco a magazzino */
#define DLG_SORT 43 /* TAG del bottone Sort */
#define DLG_BARCODE 44 /* TAG del bottone codice a barre */
#define DLG_COPY 45 /* TAG del bottone copia */
#define DLG_PASTE 46 /* TAG del bottone incolla */
#define DLG_USER 100 /* TAG del primo controllo definito dall'utente */

View File

@ -693,7 +693,7 @@ void TRecordset::parsed_text(TString& sql) const
bool ask_variable(const char* name, TVariant& var)
{
TMask m(TR("Richiesta variabile"), 1, 52, 4);
TMask m(TR("Richiesta variabile"), 1, 52, 5);
m.add_static(-1, 0, name, 1, 0);
m.add_string(101, 0, "", 1, 1, 80, "", 50);
m.add_button(DLG_OK, 0, "", -12, -1, 10, 2);
@ -703,6 +703,8 @@ bool ask_variable(const char* name, TVariant& var)
if (ok)
{
const TString& str = m.get(101);
if (str.match("??-??-2???"))
var = TDate(str); else
if (is_numeric(str))
var = real(str);
else