You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

BabaAzizi

Beginner

  • "BabaAzizi" started this thread

Posts: 2

Date of registration: May 17th 2009

  • Send private message

1

Monday, May 18th 2009, 12:38am

RTL layout

Hi, community
I am a old vb user, I have no idea about what Jabaco can do, I test it for 10 or 15 minits and I love it :thumbsup: ,
is it possible to have RTL layout using Jabaco ?, since I develop Arabic applications,
thanks

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

2

Monday, May 18th 2009, 1:43am

Quoted

is it possible to have RTL layout using Jabaco ?
It's possible to set the orientation for every component-class:

Jabaco Source

1
2
Call OptionBox1.Parent.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT)
Call ComboBox1.Parent.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT)

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

3

Monday, May 18th 2009, 3:51pm

This could be a simpler solution for your problem:

Jabaco Source

1
2
3
4
Public Sub Form_Load()
   Call Me.Parent.applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT)
   Call Me.Parent.doLayout()
End Sub

BabaAzizi

Beginner

  • "BabaAzizi" started this thread

Posts: 2

Date of registration: May 17th 2009

  • Send private message

4

Tuesday, May 19th 2009, 8:40am

I Thank you Manuel you are doing a Greaaaaaaaaaaaaaaaaaaaaaaaat job
it is ok with all controls but, I don't yet test treeview it is the last think I will test because I use it a lot in my applications but I always have RTL layout problems with names,min,max,close buttons of forms .

This post has been edited 1 times, last edit by "BabaAzizi" (May 19th 2009, 10:40am)


Rate this thread
WoltLab Burning Board