Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-02-2002, 02:39 PM   #1
bonechair
Registered User
 
bonechair's Avatar
 
Join Date: Dec 2002
Posts: 12
Send a message via Yahoo to bonechair
Talking Listbox with if statement

This is the code:

if (this["rulename"+i] != ''){
lbxAddressDisplay.addItem(
sLabel,
{id:this["id"+i],
date:this["date"+i],
time:this["time"+i],
user:this["user"+i],
flowid:this["flowid"+i],
pid:this["pid"+i],
sip:this["sip"+i],
dip:this["dip"+i],
smask:this["smask"+i],
dmask:this["dmask"+i],
sport:this["sport"+i],
dport:this["dport"+i],
rulename:this["rulename"+i],
prio:this["prio"+i],
adv1:this["adv1"+i],
adv2:this["adv2"+i],
adv3:this["adv3"+i],
shared:this["shared"+i],
shared:this["shared"+i]

}

);

}

Now it still prints

Rulename: Blah
Rulename: Blah
Rulename:
Rulename:

I want those empty fields gone
bonechair is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with if statement thisisme ActionScript 2.0 2 06-15-2006 10:08 PM
Two Listbox Problem Northern Components 0 03-01-2006 07:55 PM
help with Dynamic Listbox lovien Components 0 11-05-2004 07:38 PM
Listbox - Array - PHP TRPlace Components 0 10-20-2004 08:07 PM
Problem in ListBox with RollOver JaCCeR Components 2 01-06-2004 11:57 AM


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.