Prevent use of reserved variable names for custom variables for #148 and #152

This commit is contained in:
Michael J. Seiferling
2018-09-14 09:50:24 -06:00
parent ace287f42a
commit 333f7ac36a
5 changed files with 33 additions and 1 deletions
+6
View File
@@ -289,6 +289,12 @@ Public Class frmVariableManager
Return False
End If
If mgrVariables.GetReservedVariables.Contains(txtName.Text.ToUpper) Then
mgrCommon.ShowMessage(frmVariableManager_ErrorVariableReserved, txtName.Text, MsgBoxStyle.Exclamation)
txtName.Focus()
Return False
End If
Return True
End Function