KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Duplicate Items

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
sptomey
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 18 Mar 2003
Posts: 158

PostPosted: Wed Feb 18, 2004 1:16 am    Post subject: Duplicate Items Reply with quote

Im not sure if this has been suggested before...Or if there is already a way of doing it and I just overlooked it...But...

An option for the Combobox and maybe the Listview of not allowing duplicates to be added to a list would simplify a lot of my scripts. Maybe...$ComboBox1.Duplicates=0 would not add an item if it is already in the list.

_________________
-Shane
Back to top
View user's profile Send private message MSN Messenger
Stevie
KiXforms Supporter
KiXforms Supporter


Joined: 04 Jun 2003
Posts: 109

PostPosted: Wed Feb 18, 2004 5:29 am    Post subject: Reply with quote

A function call that would be far more valuable is a Contains() method.

then you could use:
If $ComboBox.Contains("mystring")...

It would then be very easy to exclude things already in the list without creating your own iterator. And it would, in general, be a useful function.
________
2007 cup


Last edited by Stevie on Fri Feb 18, 2011 8:51 am; edited 1 time in total
Back to top
View user's profile Send private message
sptomey
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 18 Mar 2003
Posts: 158

PostPosted: Wed Feb 18, 2004 3:47 pm    Post subject: Reply with quote

The .Contains would work fine for me too. Tried out the new form designer lastnight, by the way. Very cool tool...Made the form design much much faster and easier. Congratulations on such a great program!
_________________
-Shane
Back to top
View user's profile Send private message MSN Messenger
Stevie
KiXforms Supporter
KiXforms Supporter


Joined: 04 Jun 2003
Posts: 109

PostPosted: Thu Feb 19, 2004 4:06 am    Post subject: Reply with quote

Thanks for the positive feedback and glad you like it!
________
Glass bubblers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group