anixon Posted February 8, 2010 Share Posted February 8, 2010 Before installing 3.3.4.0 this version of Inputbox displayed a centred Inputbox:InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125, -1, -1, 10);//These examples do not produce a centred input box:InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125, -1, -1, 10)InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125, "", "", 10);//This example centres the input box but with no time out:InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125);//This convoluted example centres the input box with a time outInputBox(""," Enter a Valid Email Address: ", "", "", 250, 126,(@DesktopWidth/2) - 125,(@DesktopHeight/2) - 63, 100)Whilst using @desktopwidth in a formula achieves the same result what happened to centering based on the Inputbox values of 'left' and 'top' being -1Ant.. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 8, 2010 Share Posted February 8, 2010 I don't nkow what happened, but it works for me with: InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125, Default, Default, 10) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
anixon Posted February 8, 2010 Author Share Posted February 8, 2010 That works fine and thanks again for your help but where did the variable 'default' come from cause in the Help documentation for Inputbox there is no mention....... Ant.. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 8, 2010 Share Posted February 8, 2010 (edited) It was just a guess. See "Default" under "Keyword Reference" in the helpfile for how it works. Edited February 8, 2010 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
anixon Posted February 8, 2010 Author Share Posted February 8, 2010 It was just a guess. See "Default" under "Keyword Reference" in the helpfile for how it works.Thanks again and as they say in this part of the world 'have a good one'... Ant 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