Jump to content

How to Sort Gridlist?


Fist

Recommended Posts

Hey fist,

Im going to give you an example it's part of my code

window = guiCreateWindow( 416, 285, 416, 285, "My Window", false) --creating window we defined it with "window". 
guiSetVisible (window, false) --making it invisible in case the resource started. 
guiWindowSetSizable(window,false) --making the window not sizable 
grid = guiCreateGridList(9, 21, 398, 223, false, window) --creating the gridlist and we define it with "grid" name 
column1 = guiGridListAddColumn(grid,"Name:",0.35) --creating column item name in gridlist named "grid". 
column2 = guiGridListAddColumn(grid,"Price:",0.7) --creating column item name in gridlist named "grid". 
Btn1 = guiCreateButton(10, 248, 154, 28, "Accept", false, window) 
Btn2 = guiCreateButton(249, 248, 154, 28, "Cancel", false, window)  

Link to comment
Hey fist,

Im going to give you an example it's part of my code

window = guiCreateWindow( 416, 285, 416, 285, "My Window", false) --creating window we defined it with "window". 
guiSetVisible (window, false) --making it invisible in case the resource started. 
guiWindowSetSizable(window,false) --making the window not sizable 
grid = guiCreateGridList(9, 21, 398, 223, false, window) --creating the gridlist and we define it with "grid" name 
column1 = guiGridListAddColumn(grid,"Name:",0.35) --creating column item name in gridlist named "grid". 
column2 = guiGridListAddColumn(grid,"Price:",0.7) --creating column item name in gridlist named "grid". 
Btn1 = guiCreateButton(10, 248, 154, 28, "Accept", false, window) 
Btn2 = guiCreateButton(249, 248, 154, 28, "Cancel", false, window)  

why u giving me this? I NEED HOW I CAN MAKE SO IT SORTS PLAYERS BY SCORE. Read damn topic.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...