My Access 2000 form has a combo box with two values, for illustration: REGION A and REGION B. I have a command button with VBA code that first checks the combo box text. I find that I must change the focus to the combo box to check the value, and my code then removes the focus. This action briefly highlights the text until my code removes the focus from the text box.
Question: can I hide the "highlighting" of the combo text box.
Your suggestion to move the cursor to the begining of the text with 'ComboXXX.SelStart = 0' to eliminate the highlighting of text is a satisfactory solution for me.
Thanks the the tip.
The following would be on my wish list for future versions of VBA:
1) A cursor.visible = False would be a convenient tool to hide the cursor vertical bar when a text box temporarily receives the focus in Access VBA
2) A property to change the cursor color (white on a white background to make it invisible)
3) A property to change the cursor to something short and narow