Avatar of Mohammad Alsolaiman
Mohammad Alsolaiman
Flag for Saudi Arabia asked on

Changeing the cursor direction automatically in some textbox controls?

Hi
I need the cursor direction to be right-to-left in Some textbox controls , and left-to-right in the others.
Could I do such thing pls.
Microsoft Access

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon
SOLUTION
Gustav Brock

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Mohammad Alsolaiman

ASKER
I had try  "Me!txtAddress.ReadingOrder = 2"
but nothing happen
maybe you need a little bit more illustration
i have some textbox to fill it in with English words, so in this case the cursor should be positioned to the most right of the control and the cursor has no curve at top edge .
and some textbox to fill it in with Arabic words, so in this case the cursor should be positioned to the most left of the control and the cursor has a curve at top edge point to the left(which mean in this case that it's will write Arabic automatically) .
Gustav Brock

>  Me!txtAddress.ReadingOrder = 2

First, of course, replace txtAddress with the actual name of your textbox, or simply set property ReadingOrder to the desired value.

> .. textbox to fill it in with English words, so in this case
> the cursor should be positioned to the most right of the control

That is not normal. English text is left-aligned and filled in from the left.

> ..  the cursor has a curve at top edge point ..

I don't see this here, but that can be a feature of your localized Windows.

/gustav
Mohammad Alsolaiman

ASKER
You are right
In our version
When you press alt+shift  it will change the cursor direction
And when you press alt+shift again the cursor direction will change again
Please see the attached illustration
1-      Now I right English text and the cursor has no curved edge
2-      I press ctl+shift so the cursor go to the other side of the page (right side). Then I press alt+shift so the cursor change his direction while still at the same position.
eeQuestion.JPG
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Gustav Brock

OK. However, those hot-key combinations doesn't work with my setup so I cannot confirm.

/gustav
Mohammad Alsolaiman

ASKER
I've read something like " sendkey" . anybody know how to use it in ms access .
Maybe if I could send the two combined keys
Alt+ chift . maybe!
SOLUTION
Gustav Brock

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Gustav Brock

>  what I need really I found it out in KeyboardLanguage Property

Yes, I can see that now. However, I have only our localized keyboard setting installed which doesn't leave many choices.

/gustav
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Mohammad Alsolaiman

ASKER
thanks to all of you
Of course because of my version is different from yours, regarding of languages referents.
it's hard to guess something you didn't see before.
Gustav Brock

You are welcome!

/gustav