📄 script.lua
字号:
-- Change the caption of the existing button
btn.Caption = 'Click ME!'
-- Set its position
btn.Left = 20
btn.Top = 20
-- Add an event handler
function btn:OnClick ()
ShowMessage('You clicked the button!')
end
-- Make it visible
btn.Visible = true
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -