class btnRecordMaintenance(object): """Implementation for Addins_addin.RecordMaintenance (Button)""" def __init__(self): self.enabled = True self.checked = False def onClick(self): #List the values that will be added to the table print Caps.value # Reset the Values to No Caps.value = "No" Caps.refresh class cbxCaps(object): """Implementation for Addins_addin.Caps (ComboBox)""" def __init__(self): self.items = ["No", "Yes"] self.editable = True self.enabled = True self.dropdownWidth = 'WWWW' self.width = 'WWWW' self.value = "No" def onSelChange(self, selection): pass def onEditChange(self, text): pass def onFocus(self, focused): pass def onEnter(self): pass def refresh(self): pass
Solved! Go to Solution.
Caps.refresh
Caps.refresh()