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
    443
    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
    567
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video playback in MP2 is buggy when playing 4k material. Therefore: PLEASE add an option for an external video player! I'd LOVE to have VLC back as videoplayer, like in MP1! This works perfectly. You will make a...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    Replies
    0
    Views
    278
    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
    1K
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the latest one for Windows 8.1.
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the...
    Good evening, HELP! I have an old installation because I have a family member who relies on the MiniDisplay plug in. It is...
    Replies
    6
    Views
    482
    Top Bottom