>I have an empty textbox and based on the selection made on the combobox i will put a char. in the textbox(a prefix). the setfocus should be on the textbox and The cursor needs to be after the char. that was placed in the textbox so the user can finish the entry.
I don't know if their is a smarter way to do this but I'll share what I did.
At WHEN event of the TextBox, I have this code:
nStr = LEN(ALLT(This.Value))+1
For i = 1 To nStr
Keyboard "{RIGHTARROW}"
Endfor
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."