Messagebox with three buttons

  • Hi all!


    I want to append a third button the messagebox class. I cloned the original Messagebox class and added some additional code (see below), but the buttons are not displayed when the messagebox is shown. Buttons of Messageboxes with usual types like TYPE_YESNO are displayed correctly.


    Here is my class:



    Do you have any ideas?


    P.S.: I invoke this MessageBox by calling
    from Screens.MyCustomMessageBox import MessageBox
    [...]
    Tools.Notifications.AddNotificationWithCallback(self.retHandler, MessageBox, text, 4, duration, default = False)

  • this is only the code to fill the messagebox... The second thing you have to check is the
    Messagebox- Screen in the skin.xml of your used skin (or in skin_default.xml if your Skin does not define it)...


    Without skinning this third option, you will not see anything....


    Regards
    Tode