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 


How do i make textbox change value when press button

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
A Crazy Fox
Newbie cheater
Reputation: 0

Joined: 15 Apr 2017
Posts: 10

PostPosted: Mon Sep 04, 2017 5:21 pm    Post subject: How do i make textbox change value when press button Reply with quote

Hi, i need some help so reply whenever you can Arrow thanks for reading.
_________________
[img][/img]

A crazy fox
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Mon Sep 04, 2017 7:16 pm    Post subject: Reply with quote

something like
Code:
function CEButton1Click(sender)
  CETrainer.CEEdit1.Text = "new value"
  -- CETrainer = name of the form
  -- CEEdit1 = name of the text box
  -- CEButton1Click is the function created when you click the '...' for the onclick event, in the event tab when you have the button selected in the editor
end


If that doesn't make sense then search youtube for some videos on making trainers in CE and pay attention to the names of the properties in the form editor.
Back to top
View user's profile Send private message
A Crazy Fox
Newbie cheater
Reputation: 0

Joined: 15 Apr 2017
Posts: 10

PostPosted: Mon Sep 04, 2017 8:05 pm    Post subject: Reply with quote

FreeER wrote:
something like
Code:
function CEButton1Click(sender)
  CETrainer.CEEdit1.Text = "new value"
  -- CETrainer = name of the form
  -- CEEdit1 = name of the text box
  -- CEButton1Click is the function created when you click the '...' for the onclick event, in the event tab when you have the button selected in the editor
end


If that doesn't make sense then search youtube for some videos on making trainers in CE and pay attention to the names of the properties in the form editor.


also in another text box i want that one to be scanning the value and the 1st one was for changing the value

_________________
[img][/img]

A crazy fox
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