delphi xe10开发 android程序, tmemo设置为WORDWRAP,每一段前的空格被解释为了回车.导致段首无空格

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了delphi xe10开发 android程序, tmemo设置为WORDWRAP,每一段前的空格被解释为了回车.导致段首无空格相关的知识,希望对你有一定的参考价值。

参考技术A TMemo中的两个方法:
TMemo.Lines.Add(stringxxx);意思是向TMemo中增加字符串stringxxx;
TMemo.Lines.Text :=stringxxx,意思是清空了Memo1,然后写入stringxxx。
TMemo中的属性:
TMemo的属性中没有Scrollbar这个属性,不知道为什么,设置showscrollbars为true也没有用。属性AutoHide默认为True,这样文本中一行显示不完就被隐藏了,于是文本显示不完整。所以我们设置AutoHide为False。这样一行显示不完会换行。
属性WordWrap属性默认为False,这样显示不完的字符串会被省略。自己设置为true,再把AutoHide设置为False,这样就能完全显示字符串了。
待续。。。

Delphi XE8中Android开发有用的资源!

一,FireMonkey Component Library在XE8帮助(topics.chm)中的位置:FireMonkey Component Library,展示了FireMonkey控件在VCL类库中的各种关系,对于我们理解FireMonkey类库有非常大的帮助。

技术分享

二,Delphi XE8中Android类库源代码位置:
C:\\Program Files (x86)\\Embarcadero\\Studio\\16.0\\source\\rtl\\android ,C:\\Program Files (x86)是我安装XE8的目录,如果你的XE8不是安装到这里,请选择你安装XE8的目录,其余应该是一样的了。

三,Delphi XE8中Android类库单元名称列表:

LibraryNative FilesDescription

Android API

Androidapi.JNI.App
Androidapi.JNI.Dalvik
Androidapi.JNI.GraphicsContentViewText
Androidapi.JNI.Hardware
Androidapi.JNI.InputMethodService
Androidapi.JNI.Java.Security
Androidapi.JNI.JavaTypes
Androidapi.JNI.Location
Androidapi.JNI.Media
Androidapi.JNI.NET
Androidapi.JNI.OpenGL
Androidapi.JNI.Os
Androidapi.JNI.Provider
Androidapi.JNI.Telephony
Androidapi.JNI.Util
Androidapi.JNI.VideoView
Androidapi.JNI.Webkit
Androidapi.JNI.Widget

API of the Android platform.

Android Support

Androidapi.JNI.Support

Set of libraries that provide a wide array of different features for Android programming.

FireMonkey

Androidapi.JNI.Embarcadero

Library that provides the core functionality required by the FireMonkey Application Platform on the Android platform.

Google Mobile Ads

Androidapi.JNI.AdMob

SDK of the Google Mobile Ads service.

Google Analytics

Androidapi.JNI.Analytics

SDK of the Google Analytics service.

Google Play Application Licensing

Androidapi.JNI.Licensing

License Verification Library, a collection of helper classes to simplify adding licensing to an Android application.

Google Play In-app Billing

Androidapi.JNI.InAppBilling

API of the Google Play In-app Billing service.

Google Play Services

Androidapi.JNI.PlayServices

API of the Google Play services.

APK Expansion

Androidapi.JNI.ApkExpansion

SDK for hosting Android APK expansion files on the Google Play servers.

Cloud Messaging

Androidapi.JNI.PlayServices.GCM

SDK of the Google Cloud Messaging service. 

在XE8帮助(topics.chm)文件中位置:

技术分享



















以上是关于delphi xe10开发 android程序, tmemo设置为WORDWRAP,每一段前的空格被解释为了回车.导致段首无空格的主要内容,如果未能解决你的问题,请参考以下文章

delphi XE6 进行android开发关于真机使用EDIT或者MEMO出现假死重启问题。

Android实例-Delphi开发蓝牙官方实例解析(XE10+小米2+小米5)

delphi 运行和开发效率高吗?

delphi android蓝牙4.0开发

Delphi 10.3.1 - Android 服务挂在 System.InitUnits

delphi xe10 android服务gps [重复]