[AccessD] Access Combo Box - Stop Text Entry

Borge Hansen pcs at azizaz.com
Fri Feb 11 07:12:28 CST 2005


Paul,
I would create two controls:

txtControl : enabled and locked

cboBox : hide the text 'pane' of the combo box so only the grey box  is
visible and place the combo box next to the txtControl . On the afterupdate
event of the combo box throw the selected item into the txtControl .....be
mindful of the tab stop setting, you probably want to set one of the tab
stops to 'No' ....

Regards
Borge

----- Original Message ----- 
From: <paul.hartland at fsmail.net>
To: "accessd" <accessd at databaseadvisors.com>
Sent: Friday, February 11, 2005 10:16 PM
Subject: [AccessD] Access Combo Box - Stop Text Entry


> To all,
>
> I have a combo box on a form with a list of five entries, I want to be
able to make the user select from the list, but not be able to type in the
box is there anyway of doing this
>
> Thanks in advance for any help on this.
>
> Paul Hartland
>
> -- 
>
> Whatever you Wanadoo:
> http://www.wanadoo.co.uk/time/
>
> This email has been checked for most known viruses - find out more at:
http://www.wanadoo.co.uk/help/id/7098.htm
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>




More information about the AccessD mailing list