How can I make DialogBox (confirmation message and the OK and Cancel buttons) wait for user action and return a logical result (true clicked OK, false otherwise)?
Thanks in advance.
Another way would be to split your code and put everything that should be done after confirming / canceling a click in the callback. Call back in the ok / cancel handlers of the dialog box.
- Window.confirm, " , " "" ".
Window.confirm
Source: https://habr.com/ru/post/1749976/More articles:Convert unpack list to int - c #which is more efficient? checking == or just changing a variable? - performanceWhere should I handle exceptions in BLL, DAL or PL? - c #Getting the button pressed after clicking () is called in Qt (C ++) - c ++M2Eclipse deploys WEB-INF to WEB-INF / classes - javaUnderstanding ItemsSource and DataContext in DataGrid - .nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1749978/variables-to-input-in-file-name-for-reporting-services-subscriptions&usg=ALkJrhi-1CGHOWliRBMgwVKxul0wcWADogPHP RegEx - Get all the numbers - phpTabWidget нестабилен внизу Android? Зачем? - androidParsing STR_TO_DATE in mysql - sqlAll Articles