|
Subject:
|
Set cursor at specific location in text box
|
|
Posted By:
|
pritz
|
Post Date:
|
8/13/2005 7:43:08 AM
|
Hi i am dealing with one problem it is
I wouldlike to set the cursor at specific position i.e
consider a text box i type 100 then i want a automatic "," to appear for that i am copying text to a string and then pasting it RESULt is (100,) now i typed 0 the result is 0100, ?????????? it should be something like 100,0 .Remember typing should be always start from right to left. if someone can help me then it would be a gr8 help to me
|
|
Reply By:
|
marcostraf
|
Reply Date:
|
8/15/2005 12:22:26 PM
|
This code appends a comma at the end of the text, and leaves the cursor at the end:
Text1.SelStart = Len(Text1.Text) Text1.SelText = ","
Marco
|