[AccessD] Multi Select.

Stuart McLachlan stuart at lexacorp.com.pg
Sun Dec 4 19:10:02 CST 2011


It's not an Access thing, it's a Windows thing.  Listbox and Combobox common controls, and 
some others,  don't support modifying Window Styles dynamically. 

The only way to change Style and Extended Style attributes for these is to  destroy and 
recreate the control regardless of what development environment you are in.

-- 
Stuart

On 5 Dec 2011 at 0:15, Darryl Collins wrote:

> Hmmmm... Turns out you can only set this property when the form is in
> design mode, even via VBA.  Why on earth would they do that? 
> 
> I have a couple of workarounds in the bag, so not looking for a
> solution (unless you have a really cool one you can share), but it
> seems like an odd thing to enforce on developers, especially as the
> form is nearly always going to be open and in use when you want to
> change that property 'on the fly'... 
> 
> Anyone got any thoughts on this?  Just curious.
> 
> Cheers
> Darryl.
> 
> 
> -- 
> 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