[AccessD] Multi Select.

Darryl Collins darryl at whittleconsulting.com.au
Sun Dec 4 19:41:16 CST 2011


Aaaah, now that makes more sense...  I figured there is likely to be a deeper reason I just didn't understand.

Cheers
Darryl

-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: Monday, 5 December 2011 12:10 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Multi Select.

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
> 



-- 
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