can I build Arabic software using B2PPc and how?

Discussion in 'Questions (Windows Mobile)' started by hado, Apr 30, 2009.

  1. hado

    hado New Member

    hello all,
    can I build Arabic software using B2PPc and how?
    :sign0085:
    with best regards
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Do you have an Arabic font on your device?
    You can change the font used with FormLib.ChangeFont.
     
  3. jdrogan

    jdrogan Member Licensed User

    Hi,
    When I try this I get a compile error
    flb is not a known control or object
    flb.New1("Form1",B4PObject(1))

    Here's the rest:

    Sub App_Start
    Form1.Show
    flb.New1("Form1",B4PObject(1))
    'Msgbox("standard text")
    FormLib.ChangeFont("TextBox1","Ariel")
    textbox1.Text=textbox1.Text & CRLF & "iiiiiii1"
    textbox1.Text=textbox1.Text & CRLF & "WWWWWWWW"
    Msgbox("Ariel")
    fl.ChangeFont("TextBox1","Courier New")
    textbox1.Text=textbox1.Text & CRLF & "iiiiiii1"
    textbox1.Text=textbox1.Text & CRLF & "WWWWWWWW"
    Msgbox("Courier")

    End Sub
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You should first go to Tools - Components and add FormLib.dll to both the desktop and device.
    Then press on Tools - Add Objects, and add a FormLib object named flb.
     
  5. jdrogan

    jdrogan Member Licensed User

    Thanks,
    Works great when you know how!!:)
     
  6. mmawlad

    mmawlad New Member Licensed User

    Dear Erel
    I am also trying for Arabic. I am using Basic4Android Version 2.22.
    I don't see "Components" under "Tools" Menu either in Code Editor or in Designer. Can you plz elaborate a bit more.

    Thank you.
    Awlad.
     
  7. mjcoon

    mjcoon Well-Known Member Licensed User

    That's because this part of the forum is for B4PPC, not Android, as hado showed in his origiinal thread topic, and per the top of the page which says: Android Development Forum - Basic4android > Basic4ppc (Windows Mobile)

    But Erel may give you the answer for Basic4Android, too, since he reads both parts of the forum.

    Mike.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice