# YesNo

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/conditional-functions/yesno
>
> YesNo shows a Yes/No question window with a title, text and default button and returns TRUE or FALSE according to the button the user presses.

This Function returns a _\<boolean>_, which is the result of a search for a record in a Database, in compliance with the specified Conditions.

### Parameters

* **Default Button** _\<boolean> -_ Button to select by default.
* **Window's Title** _\<string> -_ Title to display in the opening window.
* **Text to show** _\<string> -_ Question to perform to the user.

### **Examples**

* _Example 1_

YesNo(NO, "Exit", "Do you want to exit the application?")\
\
If the user presses the "Yes" button\
**Result** = TRUE\
\
If the user presses the "No" button\
**Result** = FALSE

:::info
If you want to pass a dynamic value to the **Default Button** parameter, you can use 0, 1, TRUE or FALSE.
:::

:::warning
The text of the "Yes" and "No" buttons depend on the language of the operative system. Applicable to Win32 systems only
:::
