Dialog with options (1 Viewer)

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Create the dialog and before calling DoModal() just assign your string IDs to heading and buttons
     

    boozelclark

    Portal Pro
    March 26, 2007
    191
    10
    Johannesburg/Cape Town
    Home Country
    South Africa South Africa
    hi thanks alot for your help. i can create the dialog just fine but i'm just not sure how to use the language file to turn the yes into ignor and the no into reject. i searched for code but cant find any could you please just give me a short example. thanks a lot.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    i searched for code but cant find any could you please just give me a short example. thanks a lot.

    public void SetHeading(int iString)
    and
    public void SetLine(int iLine, int iString)

    so after creating your dialog named dlg you call:
    dlg.SetLine(<the dialog's string line you want to set (1-3)>, <your language string ID>);
     

    boozelclark

    Portal Pro
    March 26, 2007
    191
    10
    Johannesburg/Cape Town
    Home Country
    South Africa South Africa
    thanks for all your help. thant just changes the lines of text not the labels on the actual buttons. i need it to say "ignore" on the button on which it normally says yes and "reject" on the button where it normally says no. am i doing something wrong? what do i put in the language file and how do i implement that. thanks for your time i really apreciate it.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    MP1 MP2 Windscribe VPN DE
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP address or Host Name of the Master TV Service". I have a single seat build running the latest X64 version of MP1. Can anyone point me to a solution please? It's probably a really obvious one..... Cheers Fangio
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    Replies
    0
    Views
    534
    MP1 MP2 Design questions. DE
    No No
    No No
    Is there an xml display utility that will allow graphically checking of dialog and osd text and graphics element placement? or Is...
    Replies
    1
    Views
    435
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data. This tool lets you customize the EPG to match your needs, ensuring accurate and complete listings. The main benefit of using an EPG Collector is flexibility. You can pull data from reliable sources, adjust...
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    3
    Views
    419
    Oh, thank you I will read it immediately
    Oh, thank you I will read it immediately
    How can you play copy-protected Blu-rays with MP after AnyDVD has stopped working? And I don't mean converting the movies...
    Replies
    2
    Views
    677
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to it while I work out what to do next. The problem is we have a family member who relies on MiniDisplay and I don't know if upgrading the set up is going to spoil compatibility with that plug in. The set up...
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to...
    Good afternoon, Does anybody know of an expression or property I can use within a conditional visibility statement, that detects...
    Replies
    28
    Views
    2K
    Top Bottom