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

Delselect items in Listbox

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
CluM09
KiXforms Follower
KiXforms Follower


Joined: 29 May 2007
Posts: 25

PostPosted: Wed Jan 20, 2010 11:51 pm    Post subject: Delselect items in Listbox Reply with quote

Hello,

I want to know there is a syntax in KixForms to remove the selection from the list box after I have already selected the items.

I do not want to remove the selected items. All I want to do is to deselect the selected items in the listbox.

Please let me know the alternative way how I can do this if there is none.

Thanks.

CluM09
Back to top
View user's profile Send private message
CluM09
KiXforms Follower
KiXforms Follower


Joined: 29 May 2007
Posts: 25

PostPosted: Sun Jan 24, 2010 5:51 pm    Post subject: Reply with quote

I just fingured it out how to deselect the items in the listbox. It was the code from another post. The code is listed below:

For $Index = 0 to $ListBox1.Items.Count
$ListBox1.SetSelected($Index,0)
Next

This code will deselect all the items in the listbox including those items that were not selected. However, it does the job for what I need.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET 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