Jump to content

Inputbox


anixon
 Share

Recommended Posts

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

Link to comment
Share on other sites

I don't nkow what happened, but it works for me with:

InputBox("Demo"," Input AdminID then Click [OK] ", "", "", 250, 125, Default, Default, 10)
Link to comment
Share on other sites

It was just a guess. See "Default" under "Keyword Reference" in the helpfile for how it works.

Edited by AdmiralAlkex
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...