If you want list2 to clear all selections from list1, add
     thisform.list1.listindex=0
to the click event of list2.

Vice versa, if you want a selection in list1 to clear any (all) 
selections in list2, add
     thisform.list2.listindex=0
to the click event of list1

Mike

-------- Original Message  --------
Subject: Selecting a single option from two list boxes
From: Joe Yoder <[email protected]>
To: [email protected]
Date: 2/15/2012 11:43 PM

I have a form with two list boxes each one of which has a list of files.  When 
the form comes up neither list has a file highlighted.  When one clicks on a 
file name in either box, that name stays highlighted.  When a name in the other 
box is clicked, that too becomes highlighted.

I want to allow only one file from the two lists to be selected at the same 
time.  I assume the lost focus event can trigger a de-selection but have not 
been able to figure out what command will achieve it.

Thanks in advance for any help,

Joe Yoder



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to