View previous topic :: View next topic |
Author |
Message |
SrmsReis How do I cheat?
Reputation: 0
Joined: 28 Feb 2021 Posts: 7 Location: Brazil
|
Posted: Mon May 03, 2021 9:11 am Post subject: How Make A button Create A Form |
|
|
I wanna make a script that when I press a button it gonna create a form
but idk what is the function of the button click
|
|
Back to top |
|
 |
ByTransient Expert Cheater
Reputation: 5
Joined: 05 Sep 2020 Posts: 240
|
Posted: Mon May 03, 2021 10:07 am Post subject: |
|
|
You reached the wrong section for the question.
Probably, the managers will take the trouble of moving this post to the right place.
Here is an example of your question;
Code: | UDF1.CEButton1.OnClick=function()
if f then f.destroy() end
f=createForm()
local bx1 = createButton(f)
bx1.Height = 30
bx1.Left = 100
bx1.Top = 100
bx1.Width = 100
bx1.caption = "Click Me"
bx1.OnClick=function()
showMessage("Hello Lua!");
end
end |
|
|
Back to top |
|
 |
|