Re: selecting text part of combo box

From: Marshall Barton (marshbarton_at_wowway.com)
Date: 09/21/04


Date: Tue, 21 Sep 2004 09:43:33 -0500

george wrote:
>On the click event of txtTest I use the following code to
>select the whole text when I click on it:
>
>Me.txtTest.SelStart = 0
>Me.txtTest.SelLength = Len(Me.txtTest)
>
>and it works well. However it doesn't work when I try to
>do the same thing with a combo box. Can someone please
>help?

The Enter event is usually more appropriate.

-- 
Marsh
MVP [MS Access]