Results 1 to 3 of 3

Thread: text box-- the arabic script

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    pakistan
    Posts
    1

    Question text box-- the arabic script

    my probelm is that i have to handle arabic script. and so i want the text cursor to move from right to left. but if i set the align property, the cursor makes each next insersion to its left, when it should be to its right. also i can not seem to set the righttoleft property false. can anyone help?
    thanks for reading.

    urooj ainuddin
    computer systems engineering
    NEDUET

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Re: text box-- the arabic script

    Originally posted by urooj
    also i can not seem to set the righttoleft property false.
    But if you want the cursor to move from the right to the left, then you probably want RightToLeft to be True?

  3. #3
    Fanatic Member BrianHawley's Avatar
    Join Date
    Aug 2001
    Location
    Saudi Arabia
    Posts
    796

    Right-to-left

    You need to be using an Arabic version of Windows and you need to set BOTH the Align property and the RightToLeft property.

    It should then work fine.

    Note that you can change righttoleft dynamically in code with VB6 and later, but in earlier versions you can only change it in design mode. The only work-around is to have two text boxes, one for each right-to-left setting, and make them visible or not as required. Tip: make all your paired controls a control array and have a variable called r2l that equals 0 or 1. That way you can refer to them as (e.g.)

    text1(r2l) = "xyz"

    Save you a lot of grief if you have lots of controls like this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width