Quesney Posted April 7, 2017 Posted April 7, 2017 (edited) Hello all, I am trying to spruce up my first program by using XSkins (love it) and I have discovered an issue. I currently use the following to retrieve an answer from the user. The answer is a number. The issue I have is when Cancel is pressed the code sees this as if you entered the number 2. Is there anyway to modify the cancel button, or disable it all together? $sAnswer = XSkinInputBox("Finished Length", $sFinish & "less than 4"" and finished length less than 2""") ; Places the input box I have found a Post by Melba23 that shows how to close if it comes back with an error of 1 but again, this is numbers and 1 could be the answer so I do not want it to close when it has 1 Thank you all very much Edited April 7, 2017 by djchaney3 “Courage is being scared to death, but saddling up anyway” – John Wayne
Moderators Melba23 Posted April 7, 2017 Moderators Posted April 7, 2017 djchaney3, Please stop posting in the "AutoIt Projects and Collaboration" section (which as its title suggests is for collaborative projects) and use the "General Help & Support" section - which is where I have had to move several of your threads already. 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: Reveal hidden contents 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
Quesney Posted April 7, 2017 Author Posted April 7, 2017 On 4/7/2017 at 6:44 PM, Melba23 said: djchaney3, Please stop posting in the "AutoIt Projects and Collaboration" section (which as its title suggests is for collaborative projects) and use the "General Help & Support" section - which is where I have had to move several of your threads already. M23 Expand Sorry I am new to the site and was using it incorrectly, I was going to the top " + Create" to add a post and this was the only option I had to me... Again sorry will not happen again. “Courage is being scared to death, but saddling up anyway” – John Wayne
Moderators Melba23 Posted April 7, 2017 Moderators Posted April 7, 2017 djchaney3, Thanks. And if I may offer one other comment - when you reply, please use the "Reply to this topic" button at the top of the thread or the "Reply to this topic" editor at the bottom rather than the "Quote" button - I know what I wrote and it just pads the thread unnecessarily. 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: Reveal hidden contents 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
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