using inputbox in Lazarus/Free Pascal gives you a dialogue with "OK" and "Cancel".
Does pressing "cancel" do anything else then returning the default string (which would be the same if I press ok without entering anything in the input field)? Apparently It does so using Delphi! The doc for inputbox is down at the moment, so it's not possible to check there. Thanks!