[AccessD] A2003: Masked bitmaps as button images?

Christopher Hawkins clh at christopherhawkins.com
Mon Feb 2 11:21:57 CST 2004


Get ready, Charlotte...I DID IT!!  Just not with the native Access
command buttons.  ;)

I got myself a copy of the SoftBttn.ocx control - it gives you one of
those Access 97-style toolbar buttons that appears flat until you
float over it; then it pops up.  It has properties that allow you do
define a mask color; you tell it what color should be transparant,
and the control takes care of it for you.  It's nice.  I've actually
used the control before, just not since 2000 or so, when I switched
over to doing ASP 3.0 exclusively.  I'd forgotten all about it.

I put a SoftBttn.ocx demo out on my website; this is probably old
news to most of you, but I'm happy to have re-discovered this
control.  Anyone who wants to play with the SoftBttn control can find
the sample file  at
http://www.christopherhawkins.com/softbttndemoA2003.zip.

And yes, I did the crappy button icons myself.  :P

-Christopher-

---- Original Message ----
From: cfoust at infostatsystems.com
To: accessd at databaseadvisors.com, 
Subject: RE: [AccessD] A2003:  Masked bitmaps as button images?
Date: Mon, 2 Feb 2004 08:43:48 -0800

>>>There's no way these features aren't offered in Access.
>
>ROTFL
>
>Sorry, but those are famous last words!  In fact, many of the things 
>you
>can do in VB aren't available in Access forms ... And vice versa.
>Access controls are often more like ActiveX controls than the ones 
>used
>in VB.  Have you tried using a product like IrfanView to get a
>transparent background?  I'm just blue-skying here because I've never
>seriously tried to play with buton icons in Access.  It's simply been
>too much work for the result.
>
>Charlotte Foust
>
>-----Original Message-----
>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] 
>Sent: Friday, January 30, 2004 8:42 PM
>To: accessd at databaseadvisors.com
>Subject: [AccessD] A2003: Masked bitmaps as button images?
>
>
>All,
>
>I'm trying to create some pretty navigation buttons for a client.  I
>have a great set of icons to use, but cannot figure out how to tell
>Access to render each icon's mask color as transparant.
>
>This works like a chamr in VB, of course - but I need it to work in
>Access as well!
>
>I thought that the ImageList controls might work, but then I 
>discovered
>that although I can put my icons into the ImageList, I cannot assign
>those images to any of my buttons.  
>
>I've got to be doing something wrong.  There's no way these features
>aren't offered in Access.
>
>Heeeeeelp...
>
>-Christopher-
>
>
>_______________________________________________
>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