Update 20260417
This commit is contained in:
@@ -254,6 +254,7 @@ namespace DOCGEN.Klassen
|
||||
case "18":
|
||||
try
|
||||
{
|
||||
if (item.itemvalue == "x") { item.itemvalue = "X"; }
|
||||
if (item.bmstart != "")
|
||||
{
|
||||
int a = 1;
|
||||
@@ -452,11 +453,31 @@ namespace DOCGEN.Klassen
|
||||
{
|
||||
if (formField.Name.ToString().ToUpper() == item.field.ToString().ToUpper() || formField.Name.ToString().ToUpper() == item.bmstart.ToString().ToUpper())
|
||||
{
|
||||
if (item.itemvalue == "Heidi Muster")
|
||||
{
|
||||
string a = "1";
|
||||
}
|
||||
|
||||
formField.Text = item.itemvalue;
|
||||
//if (item.itemvalue.ToString() == "")
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// WTextFormField textField = formField as WTextFormField;
|
||||
|
||||
// if (textField.Type == TextFormFieldType.RegularText)
|
||||
// {
|
||||
// string s = " ";
|
||||
|
||||
// if (textField.MaximumLength < 6 && textField.MaximumLength > 0)
|
||||
// {
|
||||
// s = "";
|
||||
// for (int i = 0; i < textField.MaximumLength; i++)
|
||||
// {
|
||||
// s = s + " ";
|
||||
// }
|
||||
// }
|
||||
// textField.Text = s;
|
||||
// }
|
||||
// }
|
||||
// catch { }
|
||||
//}
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1457,6 +1478,29 @@ namespace DOCGEN.Klassen
|
||||
if (formField.Name == dv.FieldName.ToString() && !dv.FieldName.ToString().Contains("TGEDKCursor"))
|
||||
{
|
||||
formField.Text = dv.Value.ToString();
|
||||
//if (dv.Value.ToString() == "")
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// WTextFormField textField = formField as WTextFormField;
|
||||
|
||||
// if (textField.Type == TextFormFieldType.RegularText)
|
||||
// {
|
||||
// string s = " ";
|
||||
|
||||
// if (textField.MaximumLength < 6 && textField.MaximumLength > 0)
|
||||
// {
|
||||
// s = "";
|
||||
// for (int i = 0; i < textField.MaximumLength; i++)
|
||||
// {
|
||||
// s = s + " ";
|
||||
// }
|
||||
// }
|
||||
// textField.Text = s;
|
||||
// }
|
||||
// }
|
||||
// catch { }
|
||||
//}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1814,7 +1858,7 @@ namespace DOCGEN.Klassen
|
||||
{
|
||||
try
|
||||
{
|
||||
document.UpdateDocumentFields();
|
||||
document.UpdateDocumentFields();
|
||||
|
||||
}
|
||||
catch { }
|
||||
@@ -3542,6 +3586,7 @@ namespace DOCGEN.Klassen
|
||||
|
||||
formField.Text = newvalue;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user