Listbox Variable - Forum

Forum Navigation
You need to log in to create posts and topics.

Listbox Variable

Hi all,

It's been so long since I've used NB/VN that I'm basically back to beginner status ;-0

I have a listbox, that I populate one line at a time using ListBoxAddItem.    The variable set for the  list items is [OutPutList].   I can populate this variable and it displays in the list, but if I attempt to READ that variable [OutPutList] after a number of ListBoxAddItem commands, I get nothing.   Like NULL.   The contents of the listbox are there, and I can even select items to populated the selecteditem variable, but the actual variable is null.

What am I missing?

Thanks

Uploaded files:
  • You need to login to have access to uploads.

@rcohen

if I attempt to READ that variable [OutPutList] after a number of ListBoxAddItem commands, I get nothing. Like NULL.

Use ListBoxGetItem; specify "All" in the parameter for "line Number"... https://winhelp.visualneo.com/Objects.html#LISTBOXGETITEM

 

luishp and Vadim have reacted to this post.
luishpVadim

Thanks Gaev.   I can't believe I overlooked / forgot that ;-0

r