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 


Cheat Engine Forum Index
PostGo back to topic
Corroder
Grandmaster Cheater Supreme
Reputation: 33
Joined: 10 Apr 2015
Posts: 1313

PostPosted: Fri Mar 24, 2017 6:12 am    Post subject:

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
Post reviews:   Approve 1
Author Review
Twistedfate
Review: Approve
Post reference:
ReviewPosted: Fri Mar 24, 2017 9:52 am

<3
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites