Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[SOLVED] LAMW : Text Direction set : Right to Left text ?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
CADSys4 3D.
by
maurog
[
Today
at 01:00:05 am]
Questions about TFuncSeri...
by
wp
[
Today
at 12:36:23 am]
UOS - pre-compiled librar...
by
Fred vS
[
Today
at 12:34:06 am]
88 year D. Knuth changes ...
by
valdir.marcos
[March 12, 2026, 11:51:53 pm]
TChart: Wrong default val...
by
wp
[March 12, 2026, 10:14:38 pm]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
interface and GUID someth...
by
valdir.marcos
[March 12, 2026, 10:05:56 pm]
Hello! Anything new?
by
PascalDragon
[March 12, 2026, 09:39:09 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
Pocketbase
by
steve612
[March 12, 2026, 09:10:08 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
Lazarus Bugfix Release 4....
by
dsiders
[March 12, 2026, 08:53:38 pm]
Any way to "embed" Window...
by
valdir.marcos
[March 12, 2026, 08:42:31 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
could Ardour's YTK be use...
by
fifr
[March 12, 2026, 07:29:40 pm]
Qt6/Wayland clipboard: pa...
by
valdir.marcos
[March 12, 2026, 06:27:22 pm]
[ANN] PasBuild 1.5.0 rele...
by
valdir.marcos
[March 12, 2026, 06:19:54 pm]
Synchronizing Lazarus pro...
by
valdir.marcos
[March 12, 2026, 05:46:58 pm]
class not found
by
SA.Blackmon
[March 12, 2026, 05:27:32 pm]
Register global hotkey
by
Thaddy
[March 12, 2026, 04:20:28 pm]
Crystal report edit
by
Petrus Vorster
[March 12, 2026, 03:12:59 pm]
Faster asin() Was Hiding ...
by
MathMan
[March 12, 2026, 01:58:30 pm]
[ANN] PasBuild 1.6.0 rele...
by
Graeme
[March 12, 2026, 12:19:30 pm]
Debian removes FPC/Lazaru...
by
dbannon
[March 12, 2026, 08:44:10 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] LAMW : Text Direction set : Right to Left text ? (Read 2581 times)
majid.ebru
Hero Member
Posts: 530
[SOLVED] LAMW : Text Direction set : Right to Left text ?
«
on:
February 22, 2017, 10:49:53 pm »
Hi
how can i set direction text right to left in jtextview ??
some language like Farsi or Arabic , write right to Left (RTL) !
.
.
.
i think: the default direction jEditText is RTL !!!!
«
Last Edit: February 24, 2017, 10:47:55 am by majid.ebru
»
Logged
jmpessoa
Hero Member
Posts: 2330
Re: LAMW : Text Direction set : Right to Left text ?
«
Reply #1 on:
February 23, 2017, 04:48:22 am »
Done!
Please, update from github!
ref.
https://github.com/jmpessoa/lazandroidmodulewizard
Ex.
[from "AppEditTextSetTextDirectionRTLDemo1"]
Code: Pascal
[Select]
[+]
[-]
procedure
TAndroidModule1
.
AndroidModule1JNIPrompt
(
Sender
:
TObject
)
;
begin
jEditText1
.
Clear
;
jEditText1
.
SetTextDirection
(
tdRTL
)
;
// thanks to @majid.ebru
//warning: added android:supportsRtl="true" to the <application> element in manifest file.
//need android Api >= 17
end
;
Thank you!
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
majid.ebru
Hero Member
Posts: 530
Re: LAMW : Text Direction set : Right to Left text ?
«
Reply #2 on:
February 24, 2017, 06:28:42 am »
Thank you very very much.
be Happy
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[SOLVED] LAMW : Text Direction set : Right to Left text ?
TinyPortal
© 2005-2018