Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

vbs Inputbox - how to set focus at the end of a default value

$
0
0
Hi,

In a vbs script
1/ how to set the focus at the end (sendkeys end??) of the default.
In this example
Code:

InputBox ("Give a pair of numbers", "title", "1-2")
I wish the focus to be after "2"

2/ how to set the focus at the last before end character, in the preceding example it would be "-"

Thanks

P.S. I tried InputBox ("Give a pair of numbers", "title", "1-2" & Chr(3) ), but doesn't work.

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>