View previous topic :: View next topic |
Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Thu Jun 23, 2016 6:20 pm Post subject: Is it possible to load data into a table in CE? |
|
|
In CE, is it possible to load data from memory and then display them in a table or form, like the one in the screenshot?
I don't mean to export the data into an excel file, I only want to show the data table in a CE trainer, so users of the trainer can select the data that they want to modify.
PS: there are hundreds of characters in game. I tried to use Listbox, but I didn't know how to select different columns.
Description: |
|
Filesize: |
19.82 KB |
Viewed: |
4954 Time(s) |

|
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Jun 23, 2016 6:45 pm Post subject: |
|
|
You want a ListView. Change the ViewStyle to vsReport.
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Jun 24, 2016 4:38 am Post subject: |
|
|
Zanzer wrote: | You want a ListView. Change the ViewStyle to vsReport. |
Thanks, Zanzer.
I kinda have two follow up questions:
1. If I want to display another window or form after the user clicks a box in the ListView, which function should I use in CE? or is it possible?
2. How to unable the user from changing the value of an item in the ListView?
Thanks.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25777 Location: The netherlands
|
Posted: Fri Jun 24, 2016 5:02 am Post subject: |
|
|
1:
in the onMouseDown event you get an x and y position.
you can use the x position to find out which column the mouse is pressed down on (enumerate the columns and add their width until it reaches x )
you can show another form using form.show() or form.showModal()
showModal() won't return until the form is closed
2: set the readonly property to true
_________________
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 |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Jun 24, 2016 5:04 am Post subject: |
|
|
Dark Byte wrote: | 1:
in the onMouseDown event you get an x and y position.
you can use the x position to find out which column the mouse is pressed down on (enumerate the columns and add their width until it reaches x )
you can show another form using form.show() or form.showModal()
showModal() won't return until the form is closed
2: set the readonly property to true |
Thanks, Dark Byte.
|
|
Back to top |
|
 |
|