questdlg

Crée une boîte de dialogue de question.

📝 Syntaxe

  • buttonname = questdlg(question)

  • buttonname = questdlg(question, title)

  • buttonname = questdlg(question, title, default)

  • buttonname = questdlg(question, title, text1, default)

  • buttonname = questdlg(question, title, text1, text2, default)

  • buttonname = questdlg(question, title, text1, text2, text3, default)

📥 Argument d'entrée

  • question - a string or a cell of string: the question.

  • title - a string: the title of the dialog box.

  • text1 - a string: text of button 1.

  • text2 - a string: text of button 2.

  • text3 - a string: text of button 3.

  • default - a string: text of selected button by default.

📤 Argument de sortie

  • buttonname - a string: text of the clicked button or ''.

📄 Description

questdlg affiche une question dans une boîte de dialogue et renvoie le texte du bouton activé.

La boîte de dialogue possède trois boutons par défaut : 'Yes', 'No', 'Cancel', avec 'Yes' comme valeur par défaut.

💡 Exemples

🔗 Voir aussi

warndlg, errordlg, helpdlg, msgbox.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?