# Functions
Combine
路径合并.
CreateGUID
创建一个新的GUID
Create a new GUID.
CurrentThreadId
返回当前线程iD
Return the current thread id.
Exclude Deprecated: use value.Exclude.
ExtractFileExt
提取文件扩展名.
ExtractFileName
获取一个文件名.
ExtractFilePath
提取文件名的路径,带“\”的.
FileExists
判断文件是否存在.
GetFileNameWithoutExt
获取一个无扩展的文件名.
GetLibResourceCount
获取Lib中资源字符数组总数.
GetLibResourceItem
从指定索引中获取字符资源项目.
GetLibResourceItems
获取资源字符串数组.
GetStringArrOf
从一个FreePascal字符串数组获取成员.
GUIDToString
将TGUID转为字符形式
Convert TGUID to character form.
Include Deprecated: use value.Include.
InitGoDll
一般无用,主要用来在go生成的dll中使用liblcl。.
InSets Deprecated: use value.In.
LibAbout
liblcl的关于信息.
LibVersion
获取库的版本,共8位,2位2位的,如:$01020100 表示 1.2.1.0.
LocaleIDFromName 从名称获取一个语言的id.
MainThreadId
返回主线程ID
Return the main thread id.
ModifyLibResource
修改指定资源字符串.
Move
FreePascal中的内存操作,不过这里传入的是指针
Memory operations in FreePascal, but pointers are passed here.
SetPropertySecValue
设置对象二级属性值
Set the secondary attribute value of the object.
SetPropertyValue
设置对象属性值
Set object property value.
ShortCutToText
将ShortCut类型转为字符串
Convert ShortCut type to string.
StringToGUID
将字符形式的GUID转为TGUID结构
Convert GUID in character form to TGUID structure.
StrLen
FreePascal的字符串长度。
FreePascal string length.
SysOpen 打开,windows下调用ShellExecute
// windows
rtl.SysOpen("http://www.xxx.com")
rtl.SysOpen("c:\")
rtl.SysOpen("c:\xxx.exe")
// linux or macOS
rtl.SysOpen("https://wwww.xxx.com")
rtl.SysOpen("file:///xxx.png");
*/.
TextToShortCut
将字符串转为ShortCut类型
Convert string to ShortCut type.
# Variables
SysLocale
本地化相关
localization.