A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to remove selection highlighting from a listbox



 
 
Thread Tools Display Modes
  #1  
Old November 15th, 2005, 12:24 AM
A C
external usenet poster
 
Posts: n/a
Default How to remove selection highlighting from a listbox

Hello

We have 2 listboxes on a form. If the user clicks on an entry in the first
list box it highlights that row/selection black. If they then click a row
on the next listbox the first listbox stays highligted/selected/black. We
would like the first box to be "cleared" of any selection if they click on
the second list box.

Is someone able to point me to the methods/properties for doing this in VBA?

Thanks
A


  #2  
Old November 15th, 2005, 04:11 AM
tina
external usenet poster
 
Posts: n/a
Default How to remove selection highlighting from a listbox

in the AfterUpdate event procedure of the second listbox control, try

Me!FirstListBox = Null

hth


"A C" wrote in message
...
Hello

We have 2 listboxes on a form. If the user clicks on an entry in the

first
list box it highlights that row/selection black. If they then click a row
on the next listbox the first listbox stays highligted/selected/black. We
would like the first box to be "cleared" of any selection if they click on
the second list box.

Is someone able to point me to the methods/properties for doing this in

VBA?

Thanks
A




 




Thread Tools
Display Modes

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

vB 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
Visio Shortcuts [email protected] Visio 1 December 28th, 2006 11:28 PM
multiple selection in a listbox JOM General Discussion 5 August 29th, 2006 08:57 PM
how to remove highlighting following cursor as try to edit text? giraffegal General Discussion 2 September 21st, 2005 09:04 PM
Update a Listbox by Combo selection dogpigfish Using Forms 1 May 17th, 2005 06:43 PM
passing parameters from a multiple listbox selection to a query Lorenzo General Discussion 1 February 4th, 2005 09:09 PM


All times are GMT +1. The time now is 04:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.