rtl

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2018 License: LGPL-2.1 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exclude

func Exclude(r uint32, val ...uint8) uint32

Exclude Delphi集合减法,val...中存储为位的索引,下标为0

func ExtractFilePath

func ExtractFilePath(filename string) string

ExtractFilePath 提取文件名的路径,带“\”的

func FileExists

func FileExists(filename string) bool

FileExists 判断文件是否存在

func GetStringArrOf added in v1.3.0

func GetStringArrOf(p uintptr, index int) string

GetStringArrOf 从一个Delphi字符串数组获取成员

func InSets

func InSets(r, s uint32) bool

InSets Delphi集合类型的判断,类型,然后后面是第几位,下标为0

func Include

func Include(r uint32, val ...uint8) uint32

Include Delphi集合加法,val...中存储为位的索引,下标为0

func InheritsFromComponent added in v1.0.2

func InheritsFromComponent(obj uintptr) bool

InheritsFromComponent 判断对象是否继承自TComponent

func InheritsFromControl added in v1.0.2

func InheritsFromControl(obj uintptr) bool

InheritsFromControl 判断对象是否继承自TControl

func InheritsFromWinControl added in v1.0.2

func InheritsFromWinControl(obj uintptr) bool

InheritsFromWinControl 判断对象是否继承自TWinControl

func MainInstance

func MainInstance() uintptr

MainInstance EXE自身的实例

func Move

func Move(src, dest uintptr, llen int)

Move Delphi中的内存操作,不过这里传入的是指针

func ShortCutToText

func ShortCutToText(val types.TShortCut) string

ShortCutToText 将ShortCut类型转为字符串

func SysOpen

func SysOpen(filename string)

SysOpen 打开,windows下调用ShellExecute

func TextToShortCut

func TextToShortCut(val string) types.TShortCut

TextToShortCut 将字符串转为ShortCut类型

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL