方法一:调用办法:setCaretToPos(document.getElementById("YOURINPUT"), 4); function setSelectionRange(input, selectionStart, selectionEnd) { if (input.setSelectionRange) { input.focus(); input.setSelectionRange(selectionStart, selectionEnd); } else if (in
using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using System.Drawing.Imaging; namespace ZBobb { /// <summary> /// AlphaBlendTextBox: A .Net textbox that can be