@FXML Button btnClose;
@FXML private void btnCloseAction( ActionEvent event ) {
Stage stage = (Stage) btnClose.getScene().getWindow();
stage.close();
}
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment