Error Message Maker

  • FeynmanLogomaker
    5th Oct 2013 Member 1 Permalink

    Help

     

    The code:

     

    require"iuplua"
    require"iupluacontrols"

    iup.SetLanguage("ENGLISH")

    function prompt(title, message)
    res, promptInput = iup.GetParam(title, nil,
    message .. "%s\n","")
    return promptInput
    end

    dlg = iup.messagedlg{
    dialogtype = "ERROR",
    title = prompt("Title", "This is the title of the error message"),
    value = prompt("Text", "This will be the text body of the error message")
    }

    dlg:popup()
    dlg:destroy()

     

    It should run if you have the Lua For Windows package installed.

  • mniip
    5th Oct 2013 Developer 0 Permalink
    >lua for windows
  • xetalim
    5th Oct 2013 Member 0 Permalink
    @FeynmanLogomaker (View Post)
    i think this site should provide some lua forum
    http://forum.luahub.com/
  • boxmein
    5th Oct 2013 Former Staff 0 Permalink
    http://static.boxmein.net/message-boxes.exe
    if you're already getting into winderp-only, why not get .NET only?
    also more flexible: can select multiple message types and option buttons :D
    edited: changed Dropbox link to static.boxmein.net
    Edited 2 times by boxmein. Last: 10th Jan 2017
  • Cacophony
    5th Oct 2013 Member 0 Permalink

    Fun