mIRC Home    About    Download    Register    News    Help

Print Thread
#204813 02/10/08 12:50 AM
Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Hello,

This may sound like a stupid question but,

How do you check if a listbox is empty?

Thanks

Cheers,

Jay

Last edited by Buggs2008; 02/10/08 12:51 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
if !$did(<dialog_name>,[ID]).lines
<dialog_name> is not required if the line is part of an ON DIALOG event.
[ID] is the dialog ID for the list box

Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Thanks so much Russel.

Cheers,

Jay


Link Copied to Clipboard