Sage 100

 View Only
  • 1.  I know how the Message Box method can be used in A

    Posted 07-13-2011 13:05
    I know how the Message Box method can be used in Advanced scripting, however I don't see an Input Box method. Is there one and I'm just not seeing it?


  • 2.  RE: I know how the Message Box method can be used in A

    Posted 07-13-2011 14:21
    I don't think there is one. I've been using a UDF in MAS to handle user input for scripts.


  • 3.  RE: I know how the Message Box method can be used in A

    Posted 07-14-2011 06:20
    I got the response from Steve Malmgren that there is not one.


  • 4.  RE: I know how the Message Box method can be used in A

    Posted 07-14-2011 20:21
      |   view attached
    You don't need an InputBox because you can use the overloaded MessageBox. You're not stuck with a single OK button. It supports the normal 1, 2 or 3 buttons, the normal variations of Yes / No / Cancel / Ok / Retry, even custom buttons, changing the title, the icon. Most importantly you can test for the return value which is always returned in upper-case. Run the attached ..

    Attachment(s)

    txt
    MessageBoxMethods.txt   756 B 1 version


  • 5.  RE: I know how the Message Box method can be used in A

    Posted 07-14-2011 20:33
    Yes, I know it supports 3 buttons, but that doesn't help when you need a response that can be 0, 1, 2, or 3.


  • 6.  RE: I know how the Message Box method can be used in A

    Posted 07-14-2011 21:05
    I wasn't aware you needed that.