spel565 Posted August 20, 2009 Share Posted August 20, 2009 I want to create a InPutBox with more than 1answers (f.ex You see a inputbox with the message, "press 1 to do that, or 2 to do that, or 3 to do something else". "And if you press 1 something happends, and if you press 2 something else happends" ).How? Im new to this Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 20, 2009 Moderators Share Posted August 20, 2009 spel565,You will need to create your own version of an InputBox. You need to create a small GUI containing an Input control and several buttons, followed by a While..WEnd loop where you check if a button was pressed and then do whatever is necessary when it happens.Have a go at it yourself and come back if you have problems. >_< M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 20, 2009 Share Posted August 20, 2009 Read this too.. Conditional Statements - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Manjish Posted August 20, 2009 Share Posted August 20, 2009 (edited) Some clarity here.. An input box will give you a box where you can write text. It is usually used to take a "text string" input from user. What you are looking for can be accomplished using a GUI window with radio buttons to select the task: "press 1 to do that, or 2 to do that, or 3 to do something else". Or you can use a message box with 3 buttons: yes, no , cancel.. MsgBox(3,"Please make a choice" ,"Do you like Indian Food?") It's best to use option number 1, where you can specify many options to choose from. Edited August 20, 2009 by Manjish [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
spel565 Posted August 20, 2009 Author Share Posted August 20, 2009 Oh, thanks guys.But im a complete noob.What is "GUI"? Can you link some tutorials or just tell me how to create one? How complicated is it? Link to comment Share on other sites More sharing options...
Manjish Posted August 20, 2009 Share Posted August 20, 2009 Hey why don't you check the GUI section in help file.. That's the first place you'll have to look.. And nothing is as tough after you have done it.. right.. Do post your doubts here.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now