Skip to content
/ govcl Public
forked from ying32/govcl

golang binding delphi vcl(lazarus lcl) ,usage: go get gitee.com/ying32/govcl , QQ群号:263106281

License

Notifications You must be signed in to change notification settings

Leadrive/govcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

govcl

golang binding delphi vcl(lazarus lcl)

Support win32, win64, linux64, macOS32 (linux and macOS only part of the components, properties, events and methods are valid)

usage:

go get gitee.com/ying32/govcl

package main

import (
   "gitee.com/ying32/govcl/vcl"
)

var (
   mainForm *vcl.TForm
)

func main() {
    vcl.Application.SetIconResId(3)
    vcl.Application.Initialize()
    mainForm = vcl.Application.CreateForm()
    mainForm.SetCaption("Hello")
    mainForm.EnabledMaximize(false)
    mainForm.ScreenCenter()
    vcl.Application.Run()
}
  • Windows: copy "bin\win32\libvcl.dll" or "bin\win64\libvclx64.dll" to the current exe directory or system environment path. If you don't want to use Delphi binary, you can copy the corresponding LCL library binaries under the "bin\liblcl.dll" directory. Note: the use of LCL is limited in components, events, properties, and methods.

  • Linux: copy "bin\linux64\liblcl.so" executable file directory (also can be copied from the liblcl.so to /usr/lib/ directory as a Public Library).

  • MacOS: copy "bin\MacOS32\liblcl.dylib" executable file directory. apply packaging on MacOS.


Q: Why not submit the code on github.com?
A: Visit github in China is very bad, so choose China's domestic git repository.

Chinese wiki

Chinese wiki


Windows

截图1
截图2
绘图
ListView
RichEdit
标准控件
样式
图像按钮


Linux

Ubuntu 16.04

截图1
截图1
截图1
截图1
截图1
截图1


MacOS

截图1
截图1
截图1
截图1
截图1
截图1

About

golang binding delphi vcl(lazarus lcl) ,usage: go get gitee.com/ying32/govcl , QQ群号:263106281

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published