Right-to-left

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Right-to-left

Post by shadowslash » Wed May 26, 2010 3:27 pm

Has anybody successfully made the rev field to be right-to-left one where the scrollbars are on the left side of the field instead of the right.
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Right-to-left

Post by Mark » Wed May 26, 2010 4:30 pm

shadowslash,

I have never seen software that switches the scrollbar to the other side. Why would one want that?

I have been able to make RTL text fields scroll correctly, but you'd have to choose between wrapping and scrolling and it is a hell of a job involving dnyamically resizing fields and groups with scroll bars.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Right-to-left

Post by shadowslash » Wed May 26, 2010 4:49 pm

Well for instance, here's an example of notepad doing such:

Image

You can very well see their differences...
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Right-to-left

Post by Mark » Wed May 26, 2010 4:54 pm

I see it on your picture, shadowslash, but not on my own machines. Interesting, I must say.

If you really want to reproduce this yourself in RunRev, you might try to fake it with a separate scrollbar object.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Right-to-left

Post by shadowslash » Wed May 26, 2010 5:08 pm

If you're somehow curious how I got to know that such a thing exists, I just right clicked on notepad and saw that and tried it out.

Image

But about making a workaround via another scrollbar control, I don't think I'll have enough time to deal with that as of the project's scope. If I may also ask, what does rev do for languages that require such like the Arabic language, etc?
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Right-to-left

Post by Mark » Thu May 27, 2010 12:47 pm

shadowslash

What exactly do you mean with "what does rev do"? Unicode kind of works, RTL functionality is limited.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Right-to-left

Post by shadowslash » Thu May 27, 2010 5:14 pm

Mark wrote:RTL functionality is limited.
Hmm so I guess I'd have no alternative way but to make it self-implemented via a separate scrollbar control.... Image
Parañaque, Philippines
Image
Image

Post Reply