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 to print the listbox's itemindex which be selected?

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

Joined: 09 Mar 2012
Posts: 62

PostPosted: Sun Jun 17, 2018 7:51 am    Post subject: how to print the listbox's itemindex which be selected? Reply with quote

just like the attachment pic

i want to print the listbox's itemindex which be selected



2018-06-17_214805.jpg
 Description:
 Filesize:  65.78 KB
 Viewed:  1991 Time(s)

2018-06-17_214805.jpg


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jun 17, 2018 7:59 am    Post subject: Reply with quote

print(formname.listboxname.ItemIndex)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 62

PostPosted: Mon Jun 18, 2018 4:25 pm    Post subject: Reply with quote

Dark Byte wrote:
print(formname.listboxname.ItemIndex)


thanks~it work correct


Last edited by cancandodo on Mon Jun 18, 2018 4:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Mon Jun 18, 2018 4:29 pm    Post subject: Reply with quote

You need to change 'formname' with the name of your form.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
MateeJr GT
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 66

PostPosted: Mon Jul 30, 2018 2:32 am    Post subject: Reply with quote

This Is just some Info
CEComboBox = CEEdit + Menu Selection!
so its work properly with .Text = ""

_________________
Hi Lynxz Gaming
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