When using the DesktopPopupMenu.SelectRowWithText method and the string is not found, an Exception is thrown.
Wouldn’t it be better to let it return a boolean if it found the string or not?
Now you need to handle an Exception which is not very nice coding.
2 posts - 2 participants