Jump to content

help in guigridlistgetselecteditemd


nasserdfdd

Recommended Posts

Posted

hi all so this is a line of my code i get this error

test/test_c.lua:94:bad argument @guiGridListGetSelectedItem' [Expected gui-element at argument 1, gotnil]

code

local row, col = guiGridListGetSelectedItem(jobList) 

Posted

That's basic debugging. If your argument is nil, then it is not defined. Look through your code to make sure jobList is defined as a grid list.

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...