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 


Adding the OnMouseWheelUp event to mainform.addresslist did

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
yazigegeda
Expert Cheater
Reputation: 0

Joined: 22 Jan 2019
Posts: 183

PostPosted: Thu May 09, 2024 4:16 am    Post subject: Adding the OnMouseWheelUp event to mainform.addresslist did Reply with quote

I want to implement a feature that changes the font size of the address list entry by holding down ctrl + mouse wheel in the address list, but this doesn't seem to work help me :cry:


1.jpg
 Description:
 Filesize:  119 KB
 Viewed:  10867 Time(s)

1.jpg



2.jpg
 Description:
 Filesize:  128.88 KB
 Viewed:  10867 Time(s)

2.jpg



3.jpg
 Description:
 Filesize:  85.08 KB
 Viewed:  10867 Time(s)

3.jpg



20240509_181511.gif
 Description:
 Filesize:  1.07 MB
 Viewed:  10867 Time(s)

20240509_181511.gif


Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 35

Joined: 16 Feb 2017
Posts: 1476

PostPosted: Thu May 09, 2024 2:16 pm    Post subject: Reply with quote

Until you find a solution, try this;

https://forum.cheatengine.org/viewtopic.php?t=622396

_________________
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
yazigegeda
Expert Cheater
Reputation: 0

Joined: 22 Jan 2019
Posts: 183

PostPosted: Thu May 09, 2024 9:14 pm    Post subject: Reply with quote

AylinCE wrote:
Until you find a solution, try this;

https://forum.cheatengine.org/viewtopic.php?t=622396




Although the lua script you provided successfully fulfilled my requirements. But I still want to implement this requirement in the source code. The problem is in the lua code you provide. How does a List instance get it in the source code


Code:

alist = getAddressList()

alist.List.OnMouseWheelUp=function(sender)

--How do I get this alist.list from the source code



There is no such thing as a List in the source code :cry:



Screenshot_2024-05-10-11-19-00-06_2665fb67b16260a8d818298cef8dc107.jpg
 Description:
 Filesize:  85.1 KB
 Viewed:  10793 Time(s)

Screenshot_2024-05-10-11-19-00-06_2665fb67b16260a8d818298cef8dc107.jpg



Screenshot_2024-05-10-11-17-22-00_2665fb67b16260a8d818298cef8dc107.jpg
 Description:
 Filesize:  89.63 KB
 Viewed:  10793 Time(s)

Screenshot_2024-05-10-11-17-22-00_2665fb67b16260a8d818298cef8dc107.jpg



Screenshot_2024-05-10-11-16-58-00_2665fb67b16260a8d818298cef8dc107.jpg
 Description:
 Filesize:  252.59 KB
 Viewed:  10793 Time(s)

Screenshot_2024-05-10-11-16-58-00_2665fb67b16260a8d818298cef8dc107.jpg


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 150

Joined: 06 Jul 2014
Posts: 4641

PostPosted: Fri May 10, 2024 1:07 am    Post subject: Reply with quote

yazigegeda wrote:
There is no such thing as a List in the source code Crying or Very sad
"List" is the name of the TTreeviewWithScroll component. In the source code, it's `TAddressList.Treeview`
(the field is private, so in Lua, you have to go through the findComponentByName method)

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
yazigegeda
Expert Cheater
Reputation: 0

Joined: 22 Jan 2019
Posts: 183

PostPosted: Wed May 15, 2024 5:30 am    Post subject: Reply with quote

ParkourPenguin wrote:
yazigegeda wrote:
There is no such thing as a List in the source code :cry:
"List" is the name of the TTreeviewWithScroll component. In the source code, it's `TAddressList.Treeview`
(the field is private, so in Lua, you have to go through the findComponentByName method)



Oh, thank you so much :D
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 Source 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