Using a combo box after a selection I want to get control to take some actions based on the selection after press tab or return in the field. I have tried a few controls like the one below:
But the above control only gets control if the field is edited. I want control once tab, an item selected or return is pressed while on the filed. How is this done?
Code Block // textShouldEndEditing func control(_ control: NSControl, textShouldEndEditing fieldEditor: NSText) -> Bool { print(#function,control.tag)
But the above control only gets control if the field is edited. I want control once tab, an item selected or return is pressed while on the filed. How is this done?