G
Guest
Is there a function that would allow me to set the cursor at a specific
offset in a textbox?
Reason: I wish to use a textbox to search for a record, i.e., when the user
types the first character of the primary key in the textbox, On_Key event
will fire, do a search, then fill in the form with the first record found.
This will include the records's primary key with the cursor set after the key
typed. Continued typing of more characters will result in the search being
narrowed until the right record is displayed. After each character is typed,
the cursor will be located after that last character.
John H W
offset in a textbox?
Reason: I wish to use a textbox to search for a record, i.e., when the user
types the first character of the primary key in the textbox, On_Key event
will fire, do a search, then fill in the form with the first record found.
This will include the records's primary key with the cursor set after the key
typed. Continued typing of more characters will result in the search being
narrowed until the right record is displayed. After each character is typed,
the cursor will be located after that last character.
John H W