Guest User

Untitled

a guest
Apr 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Public Sub initPartslist()
  2.  
  3. If CPearson.IsArrayEmpty(Settings.Array_Type) Then
  4. Settings.Array_Type = Split("NA,PRT,ASM,SHEET,WELD PRT,WELD ASS,WELD MRG", ",")
  5. End If
  6.  
  7. If CPearson.IsArrayEmpty(Settings.Array_SpeedSelect) Then
  8. Settings.Array_SpeedSelect = Split("NA,Fresing,Dreiing,Vannskjæring,Dreiing og Fresing,Fresing og Dreiing,Sveising,Montering", ",")
  9.  
  10. End If
  11.  
  12. Public Sub initComboBox() 'rowNumber As Integer
  13. Dim cCont As control
  14. Dim cName As String
  15.  
  16. 'All members in Frame_MOM
  17. For Each cCont In MOM.Frame_MOM.Controls
  18. If TypeName(cCont) = "ComboBox" Then
  19. cName = replace(cCont.name, "ComboBox", "Array")
  20. cCont.List = Settings.cName
  21. End If
  22. Next cCont
Add Comment
Please, Sign In to add comment