Joined: 08 Oct 2012
|Posted: Wed Jul 12, 2017 9:24 am Post subject: A call that error reports as nil?
|I'm tweaking an old table that was created in the form design, not by code. There are a bunch of ListViews that are not visible stacked onto each other and the CheatPanel loads as designed.
The selection of a radio group button is designed to make the related ListView become visible, however I'm getting an error: attempt to call global 'WhichListViewShow' (a nil value)
This partial code is in this order, but for brevity sake only pertinent parts are shown.
indexname = radiogroup_getItemIndex(CheatPanel_CERadioGroup1)
h = radiogroup_getItems(CheatPanel_CERadioGroup1)
heroname = strings_getString(h, indexname)
heroname = nil
What do I need to change to make the subroutine work?