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 


Help!! ListView column header

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
nngkm
How do I cheat?
Reputation: 0

Joined: 23 Mar 2017
Posts: 2

PostPosted: Thu Mar 23, 2017 11:31 pm    Post subject: Help!! ListView column header Reply with quote

First of all, I'm sorry I don't do well in English.

I don't know how to put the title of ListView.
Give me advice or simple example, please.

You need your help.
[/img]



image1.png
 Description:
 Filesize:  16.67 KB
 Viewed:  7493 Time(s)

image1.png


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

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

PostPosted: Fri Mar 24, 2017 4:30 am    Post subject: Reply with quote

set the listview style to report
_________________
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
nngkm
How do I cheat?
Reputation: 0

Joined: 23 Mar 2017
Posts: 2

PostPosted: Fri Mar 24, 2017 5:17 am    Post subject: Thank you!! Reply with quote

Dark Byte wrote:
set the listview style to report


Thanks to you to fix the problem.
I didn't know simple things like this.
Thanks. DB~
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Fri Mar 24, 2017 6:12 am    Post subject: This post has 1 review(s) Reply with quote

sample add list view column header

Code:
f = createForm()

lv = createListView(f)
lv.left = 20
lv.top = 50
lv.height = 150
lv.width = f.width - lv.left - 20
lv.BorderStyle = 'bsSingle'

lv.RowSelect = true
lv.ShowColumn = true
lv.ViewStyle = 'vsReport'

lvc=listview_getColumns(lv)

col1=listcolumns_add(lvc)
col2=listcolumns_add(lvc)
col3=listcolumns_add(lvc)
                        ---- add column header
col1.Caption = 'Player'
col2.Caption = 'Score'
col3.Caption = 'Level'

col1.width = 100
col2.width = 100
col3.width = 100
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