kvision / pl.treksoft.kvision.modal / Confirm / show

show

fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit

Helper function for opening Confirm window.

Parameters

caption - window title

text - window content text.

rich - determines if text can contain HTML code

align - text align

size - modal window size

animation - determines if animations are used

cancelVisible - determines if Cancel button is visible

noCallback - a function called after closing window with No button

yesCallback - a function called after closing window with Yes button