Jump to content

Ask: is posible to manage cursor postion

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
saint_xaver

saint_xaver

    Newbie

  • Members
  • PipPip
  • 15 posts
hi all, i want to ask: it's posible to put the cursor position as we like when we get focuson the text box, example if the text box has word qwert, then I get fovus the text box the cursor in qwe_rt ; _=cursor position . if someone know plz tell me the code, thanks

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
VB6 or VB.NET?

Dunno about VB6, but for .NET you can set SelectionStart and SelectionLength, and to go to it, use ScrollToCaret().
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
saint_xaver

saint_xaver

    Newbie

  • Members
  • PipPip
  • 15 posts
for vb.net. thanks i will try it.

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Great.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
saint_xaver

saint_xaver

    Newbie

  • Members
  • PipPip
  • 15 posts
It's work ^^, thanks.

#6
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Glad to be of assistance. ;)
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums