Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3929c5c36f | ||
|
|
901d2e522b |
@@ -1220,6 +1220,11 @@ namespace ctlXMLEditLib
|
|||||||
mytextbox.Enter += new System.EventHandler(this.txtBox_Enter);
|
mytextbox.Enter += new System.EventHandler(this.txtBox_Enter);
|
||||||
mytextbox.Leave += new System.EventHandler(this.txtBox_Leave);
|
mytextbox.Leave += new System.EventHandler(this.txtBox_Leave);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//B2026-085 Disable Symbols when leave a TextBox
|
||||||
|
mytextbox.Leave += txtBox_Leave_DisableSymbols;
|
||||||
|
}
|
||||||
|
|
||||||
string labelAnnot;
|
string labelAnnot;
|
||||||
bool imgchld = false;
|
bool imgchld = false;
|
||||||
@@ -1311,8 +1316,13 @@ namespace ctlXMLEditLib
|
|||||||
tb.Text = dfTxt;
|
tb.Text = dfTxt;
|
||||||
tb.ForeColor = SystemColors.GrayText;
|
tb.ForeColor = SystemColors.GrayText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
txtBox_Leave_DisableSymbols(sender, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//B2026-085 Disable Symbols when leave a TextBox
|
||||||
|
private void txtBox_Leave_DisableSymbols(object sender, EventArgs e) => OnEnableDisableSymbolsBtn(new ctlXMLEditEventArgs(DisplaySymBolBtn:false));
|
||||||
|
|
||||||
// C2021-026 Event handler for Parent/Child child textbox
|
// C2021-026 Event handler for Parent/Child child textbox
|
||||||
// If the textbox is set to gray, then we are using the parent value
|
// If the textbox is set to gray, then we are using the parent value
|
||||||
// so clear the textbox so that user can enter the value for that child
|
// so clear the textbox so that user can enter the value for that child
|
||||||
|
|||||||
Reference in new issue
Block a user