Avatar of Mohammad Alsolaiman
Mohammad AlsolaimanFlag 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
SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of 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) .
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

>  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
Avatar of 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
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

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

/gustav
Avatar of 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
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Hamed Nasr
Hamed Nasr
Flag of Oman image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

>  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
Avatar of 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.
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

You are welcome!

/gustav
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo