Sign in to follow this  
Followers 0
anixon

Inputbox

5 posts in this topic

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 out

InputBox(""," 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 -1

Ant.. Posted Image

Share this post


Link to post
Share on other sites



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..Posted Image

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0