Fixed some minor list box issues

This commit is contained in:
Michael J. Seiferling
2016-03-08 20:41:46 -06:00
parent 039f47fccd
commit 09c7bf8f05
4 changed files with 21 additions and 16 deletions
+5
View File
@@ -251,6 +251,11 @@ Public Class mgrCommon
Return sString
End Function
'Compare function for list boxes
Public Shared Function CompareByName(sItem1 As KeyValuePair(Of String, String), sItem2 As KeyValuePair(Of String, String)) As Integer
Return String.Compare(sItem1.Value, sItem2.value)
End Function
'Maintenance Only - Function for string management
Public Shared Sub GetAllStrings(ByVal ctlParent As Control, ByRef sResource As String, ByRef sCode As String, ByVal sFormName As String)
For Each ctl As Control In ctlParent.Controls