vb6 changing cursor direction?

a_yosef

New Member
will, when i do with textBox control on vb6,
i can writting from right to left or from left to right.
but, what is the problem?
the problem that i can not chang the direction of cursor itself?
can any one help me,i am waiting online..
 
Well, i dont think u can change the direction, open notepad and try to write in there from right to left, the cursor will always remain on the right of the text.
 
replay

first,thank you..
may be i can not explain my goal.
i need programmality to change direction of cursor without changing its position.
the normal sate of the text cursor's head is from left to right.
i need to chang the direction of this head without changing the position of cursor.
 
If you mean the code to change the cursor's direction then this is it:

Private Sub Text1_GotFocus()
Text1.Alignment = 1 'for right 1, for left 0, for center 2
End Sub

if this is not what you want then i am afriad you will have to explain more, since i dont understand you well when you say the head of the cursor,since in a textbox the cursor has no head it has a " I " shape.
 
a_yosef said:
will, when i do with textBox control on vb6,
i can writting from right to left or from left to right.
but, what is the problem?
the problem that i can not chang the direction of cursor itself?
can any one help me,i am waiting online..

a_yosef, I have not been able to find a way to switch the direction of the cursor when you type text right to left. Its a windows textbox limitation. VB is nice.. but it cant do everything ;)

Praetor said:
How about changing the actual cursor while during a MouseOver event?

Interesting... but is there a cursor position property?
 
Back
Top