Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Form inside a form.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Flux.
Advanced Cheater
Reputation: 0

Joined: 10 Nov 2016
Posts: 84
Location: Another World - N5X2 106311411+2123518

PostPosted: Sat Apr 23, 2022 5:22 am    Post subject: Form inside a form. Reply with quote

Was wondering if this method is OK to use -
Creating a form object inside another forms form/panel/box ?
Or are there any problems that may arise from doing it ?

Paste this into the LUA engine -
Code:
le = getLuaEngine().GroupBox1
if UDF2 then UDF2.destroy() UDF2=nil end
UDF2=createForm(Sender, TCEForm)
    UDF2.Parent = le
    UDF2.anchors = '[akLeft,akTop]'
    UDF2.align = alCenter
    --UDF2.borderStyle = bsNone
    UDF2.left = 150
    UDF2.width = 250
    UDF2.top = 0
    UDF2.height = 24
lab=createLabel(UDF2)
    lab.align = alClient
    lab.caption = 'Form inside a form'
Back to top
View user's profile Send private message
chibs1441
How do I cheat?
Reputation: 0

Joined: 03 Aug 2021
Posts: 4
Location: a secret

PostPosted: Mon Apr 25, 2022 1:34 pm    Post subject: Reply with quote

Shouldn't be any problem as long as you know what you're doing.
Btw why are you doing UDF2.left/top when you already have UDF2.align = alCenter

_________________
--sample text--
Back to top
View user's profile Send private message AIM Address
Flux.
Advanced Cheater
Reputation: 0

Joined: 10 Nov 2016
Posts: 84
Location: Another World - N5X2 106311411+2123518

PostPosted: Tue Apr 26, 2022 3:07 am    Post subject: Reply with quote

Yeah, that was supposed to be commented out like borderstyle,
shifting it left stopped it from hiding stuff that i printed.

Was hoping one of the pros would chime in and say if this was not a good idea.

The main reason i was wanting this is so you can use form designer, and
then put that into LuaEngine or MainForm or any other form.

Currently i was using say createpanel, createlabel & createButton and typing it
all out, doing it this way and using form designer would be so much easier.
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 30

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Tue Apr 26, 2022 7:16 am    Post subject: This post has 1 review(s) Reply with quote

I did not understand what you want to do. Or I'm not sure this is question or solution sharing.

Flux. wrote:
Yeah, that was supposed to be commented out like borderstyle,
shifting it left stopped it from hiding stuff that i printed.


I'm just referring to this sentence;

Code:
le = getLuaEngine().GroupBox1
if lePanel1 then lePanel1.destroy() lePanel1=nil end

lePanel1=createPanel(le)
lePanel1.Color=0xffffff

lab=createLabel(lePanel1)
    lab.AutoSize=false
    lab.caption = 'Here\nWhat are you hoping to see?'
    lab.OptimalFill=true
    lab.Alignment="taCenter"

   function pnlSize()
    lePanel1.left = 0
    lePanel1.width = le.width
    lePanel1.top = 0
    lePanel1.height = le.height
    lab.height = lePanel1.height
    lab.width = lePanel1.width
   end
   pnlSize()

le.OnResize=function()
 pnlSize()
end


Ignoring the above code;
Code:
le = getLuaEngine() --.GroupBox1
showMessage(le.mOutput.Lines.Text)


Alternative 1;
Code:
getLuaEngine().cbShowOnPrint.Checked=false
getLuaEngine().hide()

print(1)


Alternative 2;
Code:
print(1)
getLuaEngine().MenuItem5.doClick()


Alternative 3;
Code:
getLuaEngine().mOutput.Lines.Text=""


Result;
It's not hard to reverse them for someone who knows what they're doing.
It will deter novices for a while though! Wink

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Tue Apr 26, 2022 7:39 am    Post subject: Re: Form inside a form. Reply with quote

Flux. wrote:
Was wondering if this method is OK to use -
Creating a form object inside another forms form/panel/box ?
Or are there any problems that may arise from doing it ?

Paste this into the LUA engine -
Code:
le = getLuaEngine().GroupBox1
if UDF2 then UDF2.destroy() UDF2=nil end
UDF2=createForm(Sender, TCEForm)
    UDF2.Parent = le
    UDF2.anchors = '[akLeft,akTop]'
    UDF2.align = alCenter
    --UDF2.borderStyle = bsNone
    UDF2.left = 150
    UDF2.width = 250
    UDF2.top = 0
    UDF2.height = 24
lab=createLabel(UDF2)
    lab.align = alClient
    lab.caption = 'Form inside a form'


Personally, I see nothing wrong with it. For what reason(s) did you want to use a form within a form?

@AylinCE,
The OP is asking the implications of creating a form that displays within another form of Cheat Engine.
Back to top
View user's profile Send private message
Flux.
Advanced Cheater
Reputation: 0

Joined: 10 Nov 2016
Posts: 84
Location: Another World - N5X2 106311411+2123518

PostPosted: Tue Apr 26, 2022 10:17 am    Post subject: Reply with quote

@AylinCE Thank you for the reply, you always make the effort, its appreciated.

@LeFiXER Hello, sorry i am not making myself very clear.
so say i want to create something inside one of cheat engines forms,
my own tool say or an mp3 player or whatever.

Currently i have been typing all the create - panels labels and buttons info in
manually, then tweaking there height and width to get the desired effect,
this can take some time if you have many objects.
But all that is unnecessary if you create what you want in form designer,
and then just add that created form to the other form.

Does that make sense ?
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Tue Apr 26, 2022 11:16 am    Post subject: Reply with quote

I understood what you meant. I'm just unsure why you would want constrain it to a Cheat Engine form.
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 30

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Tue Apr 26, 2022 12:11 pm    Post subject: Reply with quote

Flux. wrote:
@AylinCE Thank you for the reply, you always make the effort, its appreciated.

Thanks ..

Flux. wrote:
But all that is unnecessary if you create what you want in form designer,
and then just add that created form to the other form.

Does that make sense ?

I do not agree. It looks rough both in design and image (not aesthetic)

I can only offer suggestions to expand ideas.

Rather than creating a separate form and opening it in another form;
Create a panel or GroupBox (Instead of a form) and put the whole menu (Button, label, panel etc.) in it.
Set its visibility to "false" and change it to "true" with just a push of a button.

Also this panel or GroupBox; You may also be able to edit it in the form designer and dump it into a generated code.

-------------------------------------------
The code below; Here is an example that I compiled from @DaSpamer code myself.

Create a form in the form designer and write the form name in the plugin and (if you want to wrap the Objects in a table) a table name, dump the whole form into lua code and use the output as a form.

As I said, I made the controls according to my needs, you can edit what you want to add.

Code:
function TranslateToFunction(Str, parent)
if (type(Str) ~= 'string') then error('Not valid type'); end;
local action = 'create' .. string.gsub(Str, 'TCE', '') -- Easy solution..
if ( Str == 'TTabSheet' and parent and object_getClassName(parent) == 'TCEPageControl') then
action = parent.getName() .. '.addTab()';
end
return action
end

function GenerateLuaScript(WantedForm,tbl)
Form = WantedForm
FormToLua = {}
FormToLua.MainForm = {}
CompCount = Form.getComponentCount()
FormToLua.MainForm.name = Form.getName()
FormToLua.MainForm.caption = Form.Caption
FormToLua.MainForm.height = Form.Height
FormToLua.MainForm.width = Form.Width
FormToLua.MainForm.left = Form.Left
FormToLua.MainForm.top = Form.Top
FormToLua.MainForm.Popupmode = Form.Popupmode --and '0' or false
FormToLua.MainForm.Position = Form.Position
FormToLua.MainForm.BorderStyle = Form.BorderStyle or false
FormToLua.MainForm.enabled = tostring(Form.Enabled)
FormToLua.MainForm.visible = control_getVisible(Form) and 'true' or 'false'
for i=1,CompCount do
i = i-1
FormToLua[i] = {}
Object = Form.getComponent(i)
FormToLua[i].Object_parent = Object.Parent.getName()
FormToLua[i].Object_type = TranslateToFunction(object_getClassName(Object), Object.Parent) or error("No object type???");
FormToLua[i].Object_name = Object.getName() or false

if tbl~="" then
FormToLua[i].Object_name = tbl.."."..Object.getName() or false
else
FormToLua[i].Object_name = Object.getName() or false
end
--FormToLua[i].Object_name = Object.getName() or false
FormToLua[i].Object_autoSize = Object.AutoSize and 'true' or 'false' or false
FormToLua[i].Object_height = Object.Height or false
FormToLua[i].Object_width = Object.Width or false
FormToLua[i].Object_left = Object.Left or false
FormToLua[i].Object_top = Object.Top or false
FormToLua[i].Object_caption = Object.caption or false
FormToLua[i].Object_text = Object.Text or false
FormToLua[i].Object_alignment = Object.Alignment or false
FormToLua[i].Object_enabled = Object.Enabled and 'true' or false
FormToLua[i].Object_visible = control_getVisible(Object) and 'true' or false
FormToLua[i].Object_scrollBars = Object.ScrollBars or false
FormToLua[i].Object_wordWrap = Object.WordWrap and 'true' or 'false' or false
FormToLua[i].Object_readOnly = Object.ReadOnly and 'true' or 'false' or false
FormToLua[i].Object_style = Object.Style or false
FormToLua[i].Object_itemIndex = Object.ItemIndex or false
FormToLua[i].IsTab = object_getClassName(Object) == 'TTabSheet';
-- FormToLua[i].Object_color = tostring(Object.Color) -- Not sure that you need this
 FormToLua[i].Object_fontSize = tostring(Object.Font.Size) -- Or this..
 FormToLua[i].Object_fontStyle = Object.Font.Style and "" or false
end

GenerateScript = [[if ]] .. FormToLua.MainForm.name .. [[ then ]] .. FormToLua.MainForm.name .. [[.Destroy() ]] .. FormToLua.MainForm.name .. [[=nil end]] .. [[

]] .. FormToLua.MainForm.name .. [[=createForm() ]] .. [[

]] .. FormToLua.MainForm.name .. [[.height=]].. FormToLua.MainForm.height .. [[ ]] .. FormToLua.MainForm.name .. [[.width=]].. FormToLua.MainForm.width .. [[ ]] .. FormToLua.MainForm.name .. [[.left=]].. FormToLua.MainForm.left .. [[ ]] .. FormToLua.MainForm.name .. [[.top=]].. FormToLua.MainForm.top .. [[

]] .. FormToLua.MainForm.name .. [[.PopupMode=]] .. [["]] .. FormToLua.MainForm.Popupmode .. [["]] .. [[ ]] .. FormToLua.MainForm.name .. [[.caption="]] .. FormToLua.MainForm.caption .. [["]] .. [[

]] .. FormToLua.MainForm.name .. [[.Position=]] .. [["]] .. FormToLua.MainForm.Position .. [["]] .. [[ ]] .. FormToLua.MainForm.name .. [[.BorderStyle="]] .. FormToLua.MainForm.BorderStyle .. [["]] .. [[

]] .. [[-------------------------]]
for line in string.gfind (GenerateScript,"[^\n]+") do
print(line)
end
TempText = [[-- Creating the objects]]

if tbl~="" then
TempText = [[local ]]..tbl..[[ = {}]]
else
TempText = [[-- Creating the objects]]
end
for i = 1, CompCount do
i = i-1


TempText = TempText ..[[

]] .. [[----------------------- ]] .. FormToLua[i].Object_name .. [[ -----]] .. [[
 
]] .. (FormToLua[i].IsTab and FormToLua[i].Object_name .. [[=]] .. FormToLua[i].Object_type or FormToLua[i].Object_name .. [[=]] .. FormToLua[i].Object_type .. [[(]] .. FormToLua[i].Object_parent .. [[)]]) .. [[

]] .. ((FormToLua[i].Object_autoSize == false) and '' or FormToLua[i].Object_name .. [[.AutoSize=]] .. FormToLua[i].Object_autoSize) .. [[

]] .. ((FormToLua[i].Object_height == false) and '' or FormToLua[i].Object_name .. [[.height=]] .. [["]] .. FormToLua[i].Object_height.. [["]]) .. [[ ]] .. ((FormToLua[i].Object_width == false) and '' or FormToLua[i].Object_name .. [[.width=]] .. [["]] .. FormToLua[i].Object_width.. [["]]) .. [[ ]] .. ((FormToLua[i].Object_left == false) and '' or FormToLua[i].Object_name .. [[.left=]] .. [["]] .. FormToLua[i].Object_left.. [["]]) .. [[ ]] .. ((FormToLua[i].Object_top == false) and '' or FormToLua[i].Object_name .. [[.top=]] .. [["]] .. FormToLua[i].Object_top.. [["]]) .. [[

]] .. ((FormToLua[i].Object_caption == false) and '' or FormToLua[i].Object_name .. [[.caption=]] .. [["]] .. FormToLua[i].Object_caption.. [["]]) .. [[

]] .. ((FormToLua[i].Object_text == false) and '' or FormToLua[i].Object_name .. [[.text=]] .. [["]] .. FormToLua[i].Object_text.. [["]]) .. [[

]] .. ((FormToLua[i].Object_alignment == false) and '' or FormToLua[i].Object_name .. [[.alignment=]] .. [["]] .. FormToLua[i].Object_alignment.. [["]]) .. [[

]] .. ((FormToLua[i].Object_enabled == false) and '' or FormToLua[i].Object_name .. [[.Enabled=]] .. FormToLua[i].Object_enabled) .. [[ ]] .. ((FormToLua[i].Object_fontStyle == false) and '' or FormToLua[i].Object_name .. [[.FontStyle="]] .. FormToLua[i].Object_fontStyle) .. [["]] .. [[ ]] .. ((FormToLua[i].Object_fontSize == false) and '' or FormToLua[i].Object_name .. [[.FontSize=]] .. FormToLua[i].Object_fontSize)

if FormToLua[i].Object_type=="createMemo" then
TempText = TempText ..[[

]] .. ((FormToLua[i].Object_scrollBars == false) and '' or FormToLua[i].Object_name .. [[.ScrollBars=]] .. [["]] .. FormToLua[i].Object_scrollBars.. [["]]) .. [[ ]] .. ((FormToLua[i].Object_wordWrap == false) and '' or FormToLua[i].Object_name .. [[.wordWrap=]] .. FormToLua[i].Object_wordWrap)

end
if FormToLua[i].Object_type=="createComboBox" then
TempText = TempText ..[[

]] .. ((FormToLua[i].Object_readOnly == false) and '' or FormToLua[i].Object_name .. [[.ReadOnly=]] .. FormToLua[i].Object_readOnly) .. [[ ]] .. ((FormToLua[i].Object_style == false) and '' or FormToLua[i].Object_name .. [[.Style=]] .. [["]] .. FormToLua[i].Object_style) .. [["]] .. [[

 ]] .. ((FormToLua[i].Object_itemIndex == false) and '' or FormToLua[i].Object_name .. [[.ItemIndex=]] .. FormToLua[i].Object_itemIndex)

end
TempText = TempText ..[[

-----------------------]]
end

for line in string.gfind (TempText,"[^\n]+") do
if (line~= '' and #line > 1) then
print(line);
end
end
end

function Start()
CEToLua = createForm(false)
CEToLua.height = 35
CEToLua.width = 330
CEToLua.caption = "Convert CE Form to LUA"
CEToLuaButton = createButton(CEToLua)
CEToLuaButton.caption = "Generate"
CEToLuaButton.height = 26
CEToLuaButton.width = 100
CEToLuaButton.top = 4
CEToLuaButton.left = 225
CEToLuaEdit = createEdit(CEToLua)
CEToLuaEdit.AutoSize=false
CEToLuaEdit.height=25 CEToLuaEdit.width=100 CEToLuaEdit.left=5 CEToLuaEdit.top=5
CEToLuaEdit.Text="" CEToLuaEdit.ShowHint=true CEToLuaEdit.TextHint="FormName?"
CEToLuaEdit1 = createEdit(CEToLua)
CEToLuaEdit1.AutoSize=false
CEToLuaEdit1.height=25 CEToLuaEdit1.width=100 CEToLuaEdit1.left=115 CEToLuaEdit1.top=5
CEToLuaEdit1.Text="" CEToLuaEdit1.ShowHint=true CEToLuaEdit1.TextHint="TableName?"
CEToLuaButton.onClick = function ()
a = CEToLuaEdit.Text
tbl = CEToLuaEdit1.Text
loadstring([[test = (]] .. a .. [[ or nil) -- Defines test as a form]])()
a = nil
if (type(test)~="userdata") then
test = nil
CEToLuaEdit.Caption = ""
showMessage("Sorry but this is not a valid form!")
return
end
GenerateLuaScript(test,tbl)
test = nil
CEToLua.hide()
end
CEToLua.centerScreen()
end
Start()

function CETrainerToLua()
if CEToLua.getVisible() then
CEToLua.hide()
else
CEToLua.show()
end
end

CEMenu = menu_getItems(form_getMenu(getMainForm()))
CETrainerToLuaScript = createMenuItem(CEMenu)
menuItem_add(CEMenu, CETrainerToLuaScript)
menuItem_setCaption(CETrainerToLuaScript, "C.E Trainer to LUA")
menuItem_onClick(CETrainerToLuaScript, CETrainerToLua)


Here is an output;

Code:
if UDF1 then UDF1.Destroy() UDF1=nil end
UDF1=createForm() 
UDF1.height=200 UDF1.width=358 UDF1.left=384 UDF1.top=171
UDF1.PopupMode="pmNone" UDF1.caption="UDF1"
UDF1.Position="poDesigned" UDF1.BorderStyle="bsSizeable"
-------------------------
local tbl1 = {}
----------------------- tbl1.CEButton1 ----- 
tbl1.CEButton1=createButton(UDF1)
tbl1.CEButton1.AutoSize=false
tbl1.CEButton1.height="25" tbl1.CEButton1.width="75" tbl1.CEButton1.left="52" tbl1.CEButton1.top="36"
tbl1.CEButton1.caption="Enable"
tbl1.CEButton1.Enabled=true tbl1.CEButton1.FontStyle="" tbl1.CEButton1.FontSize=0
-----------------------
----------------------- tbl1.CEPanel1 ----- 
tbl1.CEPanel1=createPanel(UDF1)
tbl1.CEPanel1.AutoSize=false
tbl1.CEPanel1.height="50" tbl1.CEPanel1.width="170" tbl1.CEPanel1.left="115" tbl1.CEPanel1.top="89"
tbl1.CEPanel1.caption="CEPanel1"
tbl1.CEPanel1.alignment="2"
tbl1.CEPanel1.Enabled=true tbl1.CEPanel1.FontStyle="" tbl1.CEPanel1.FontSize=0
-----------------------
----------------------- tbl1.CELabel1 ----- 
tbl1.CELabel1=createLabel(UDF1)
tbl1.CELabel1.AutoSize=false
tbl1.CELabel1.height="31" tbl1.CELabel1.width="156" tbl1.CELabel1.left="54" tbl1.CELabel1.top="158"
tbl1.CELabel1.caption="CELabel1"
tbl1.CELabel1.alignment="taCenter"
tbl1.CELabel1.Enabled=true tbl1.CELabel1.FontStyle="" tbl1.CELabel1.FontSize=-23
-----------------------

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Flux.
Advanced Cheater
Reputation: 0

Joined: 10 Nov 2016
Posts: 84
Location: Another World - N5X2 106311411+2123518

PostPosted: Tue Apr 26, 2022 1:24 pm    Post subject: Reply with quote

@AylinCE Thanks for the reply, i will check out that tool when i get 5.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Tue Apr 26, 2022 10:14 pm    Post subject: Reply with quote

Form inside a form called as MDI.

MDI is short for Multiple Document Interface. MDI applies to three different aspects of the User Interface (UI) of an application. It refers to a form (as in type) of software or app, an MDI design. MDI is also a master (controlling) window in that design, the MDI parent form. Finally MDI is a window under control of the MDI parent, the window being controlled is a MDI child form.

So, here an example in CE :

Code:
if f then f.Destroy() end
if f2 then f2.Destroy() end

f = createForm()
f.Width = 600
f.Height = 600
f.Position = 'poScreenCenter'
f.Color = '0xfffffff'
f.Caption = 'Main Form'
f.FormStyle = 'fsMDIForm'
f.DefaultMonitor = 'dmMainForm'
f.BorderStyle = 'bsSingle'

b = createButton(f)
b.setSize(70,30)
b.setPosition(10,10)
b.caption = 'Test 1'
b.onClick = function(g)
showMessage('Button clicked')
end

memo1 = createMemo(f)
memo1.setSize(400,400)
memo1.setPosition(20,50)

f2 = createForm()
f2.setParent(f)
f2.FormStyle = 'fsMDIChild'
f2.BorderStytle = 'bsSingle'
f2.Caption = 'Child Form1'
f2.Color = '0x99AE90'
f2.AlphaBlend = true
f2.AlphaBlendValue = 150
f2.Width = 300
f2.Height = 300
f2.setPosition(200,200)
f2.ParentBidiMode = false

memo2 = createMemo(f2)
memo2.setSize(200,200)
memo2.setPosition(20,50)

b2 = createButton(f2)
b2.setSize(70,30)
b2.setPosition(10,10)
b2.caption = 'Test 2'
b2.onClick = function(x)
showMessage('Button clicked')
end


Or under a function, example :

Code:
if f then f.destroy() end

f = createForm()
f.Width = 600
f.Height = 600
f.Position = 'poScreenCenter'
f.Color = '0xfffffff'
f.Caption = 'Main Form'
f.FormStyle = 'fsMDIForm'
f.DefaultMonitor = 'dmMainForm'
f.BorderStyle = 'bsSingle'

btn = createButton(f)
btn.setPosition(10,10)
btn.Width = 150
btn.Caption = "Create New Form"

function create_chidform(par, f2)
 if f2 then f2.destroy() end
 par = f
 f2 = createForm(par)
 f2.setParent(par)
 f2.FormStyle = 'fsMDIChild'
 f2.BorderStytle = 'bsSingle'
 f2.Caption = 'Child Form1'
 f2.Color = '0x99AE90'
 f2.AlphaBlend = true
 f2.AlphaBlendValue = 200
 f2.Width = 300
 f2.Height = 300
 f2.setPosition(40, 100)
 f2.ParentBidiMode = false
 f2.AllowDropFiles=true
end

f.Show()
btn.Onclick = create_chidform


Maybe this is not your expected, Anyhow in programming world / applications, the form inside a form or an app inside an app generally called as MDI.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Flux.
Advanced Cheater
Reputation: 0

Joined: 10 Nov 2016
Posts: 84
Location: Another World - N5X2 106311411+2123518

PostPosted: Wed Apr 27, 2022 4:11 am    Post subject: Reply with quote

@Corroder
Hello thank you for the info and posting that script, i liked the use of the alpha blending.

But doesn't that do exactly what mine does ?

Depending on what your doing, typing createMemo and createButton can be
unnecessary, because you could use the form designer then call that form,
but i never see anyone use it, and couldn't find any examples, that's why i
started this topic.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Wed Apr 27, 2022 9:33 pm    Post subject: Reply with quote

Flux. wrote:
@Corroder

But doesn't that do exactly what mine does ?

Depending on what your doing, typing createMemo and createButton can be
unnecessary, because you could use the form designer then call that form,
but i never see anyone use it, and couldn't find any examples, that's why i
started this topic.


As I said, that script just examples. Crate memo, button, etc just to proved any components can be added to the MDI forms and works like you want instead.

And I am not accustomed to use Form Designer

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites