Page tree


Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.23 
            Releasenews | Download
 MediaPortal 2.2.2
            Releasenews | Download

Purpose

  • Required:  No
  • Type of Change:  Feature

The Yes/No dialog was not functional with the DVD prompt when DVD is not available. There was no way to back out, just an OK button.  In order to fix this issue, the ability to set custom labels to Yes/No dialog was added.

Description of Change

To alter the Yes/No labels.....

  1. Initialize and set all data on dialog, as before (dialog.Reset(), dialog.SetHeading(), dialog.SetLine())
  2. Before dialog.DoModal() call to show dialog, you can now call: dialog.SetYesLabel(string) and dialog.SetNoLabel(string)
  3. Enjoy your custom text dialog

Additional Information and References

Mantis Issue:

3354

Related xml(s):

dialogYesNo.xml

Windows IDs:

100

Related GUI control:

 

Author:

SlientException

Date added:

Wed, 11 May 2011

XML/Code Samples

 

Screenshots

 

 

   

 

This page has no comments.