gui: set main app icon
This commit is contained in:
parent
1035086ed4
commit
2481a1da20
1
main.go
1
main.go
@ -41,6 +41,7 @@ func (f *TMainForm) OnFormCreate(sender vcl.IObject) {
|
|||||||
f.ImageList = loadImages(f)
|
f.ImageList = loadImages(f)
|
||||||
|
|
||||||
f.SetCaption("yvbolt")
|
f.SetCaption("yvbolt")
|
||||||
|
f.ImageList.GetIcon(imgDatabaseLightning, f.Icon())
|
||||||
|
|
||||||
mnuFile := vcl.NewMenuItem(f)
|
mnuFile := vcl.NewMenuItem(f)
|
||||||
mnuFile.SetCaption("File")
|
mnuFile.SetCaption("File")
|
||||||
|
Loading…
Reference in New Issue
Block a user