New topic: MsgBox and InputBox for REALbasic?
<http://forums.realsoftware.com/viewtopic.php?t=47210> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message barrytraver Post subject: MsgBox and InputBox for REALbasic?Posted: Fri Mar 08, 2013 7:13 am Joined: Fri Sep 30, 2005 1:53 pm Posts: 848 Location: Philadelphia, PA Visual Basic has built into the language a MsgBox Function and an InputBox Function: Quote:MsgBox Function (Visual Basic) Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked. InputBox Function (Visual Basic) Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box. REALbasic has built into the language a MsgBox function but not an InputBox function. For "QuAD" ("QUick And Dirty") programs I find MsgBox in REALbasic to be extremely useful (just as I did in Visual Basic up; to version 6.0). It doesn't look "professional," but it saves a lot of time. I have an idea that I would find an InputBox in REALbasic to be equally useful, but REALbasic does not have an equivalent built into the language. Which brings me to my questions: Has anyone written an equvalent Function to InputBox for REALbasic? If so, is the code available? (If people are converting Visual Basic programs to REALbasic, these questions must have come up before.) Thanks in advance for any help on this. Barry Traver Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
