Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2363

GUICheckButton does not handle GUIControl.SelectControl() and GUIControl.DeSelectControl() API calls

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0 RC
    • 1.3.0 Beta
    • MediaPortal 1
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      * the OnMessage routine (starting at line 442) does not handle the message types GUI_MSG_SELECTED and GUI_MSG_DESELECTED, the base OnMessage routine will be called only
      * the variable "checkMark" must be set to the same value as "Base.Selected", otherwise the checkmark doesn't change the state
      * this is an enhancements to support special API calls
      * source code file: mediaportal\core\guilib\GUICheckButton.cs

      h4. Steps to Reproduce
      * add a skin control element "GUICheckButton" to source code
      * call the API function "GUIControl.SelectControl()" or "GUIControl.DeSelectControl()" with the appropriate values
      * expected result: the checkmark changed
      * current result: the checkmark doesn't change, it's only possible to set the element value "Selected" to true/false
      * for more information, please take a look here (http://forum.team-mediaportal.com/threads/question-regarding-guicheckbutton-suggestion-to-fix-fullscreen-related-problems.114872/#post-947418)


      h4. Additional Information
      * a test plugin can be found here (http://forum.team-mediaportal.com/threads/question-regarding-guicheckbutton-suggestion-to-fix-fullscreen-related-problems.114872/page-2#post-950761)

      Attachments

        Activity

          People

            Micropolis Micropolis (Inactive)
            Micropolis Micropolis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: