- Local time
- Today, 12:11
- Joined
- Feb 19, 2013
- Messages
- 17,321
Unlike the msgbox, the inputbox has X & Y parameters to position the box where you want - in twips from top/left of the screen
This can be useful for being able to open the inputbox close to the current position of the cursor or a standard position such as top left of the screen
However it would appear the X & Y parameters are integer, consequently on larger monitors (wider that 22.5 inches) trying to pass a value greater than 32768 results in an overflow error.
The ms help pages are not much help - they just refer to X & Y as numeric values
The only workaround I can do is create my own inputbox (along the lines of the msgbox example I posted a few weeks ago).
Unless anyone has an alternative suggestion?
Either way - given the anticipated support for wide screen, hopefully allowing for forms to be wider than 22.5 inches, I would hope this would be addressed at that time.
This can be useful for being able to open the inputbox close to the current position of the cursor or a standard position such as top left of the screen
However it would appear the X & Y parameters are integer, consequently on larger monitors (wider that 22.5 inches) trying to pass a value greater than 32768 results in an overflow error.
The ms help pages are not much help - they just refer to X & Y as numeric values

The only workaround I can do is create my own inputbox (along the lines of the msgbox example I posted a few weeks ago).
Unless anyone has an alternative suggestion?
Either way - given the anticipated support for wide screen, hopefully allowing for forms to be wider than 22.5 inches, I would hope this would be addressed at that time.