[AccessD] Rocky--re OnPaint

Stuart McLachlan stuart at lexacorp.com.pg
Tue Jan 16 23:43:43 CST 2024


For other types of controls, BackStyle is as close as you will get, but it's not exactly the 
same

On 17 Jan 2024 at 15:34, Stuart McLachlan wrote:

> Yep, only buttons:
> 
> https://learn.microsoft.com/en-us/office/vba/api/access.navigationbutt
> on.transparent
> 
> 
> On 17 Jan 2024 at 15:29, Stuart McLachlan wrote:
> 
> > AFAIK, buttons are the only controls with a transparent property.
> > 
> > It is commonly used for placing the button over an image or
> > formatted label, effectively making the button "look good". 
> > (Alternatively, you can think of it as making the label or image
> > clickable)
> > 
> > Not much use for anything else :(
> > 
> > 
> > On 16 Jan 2024 at 19:47, Rocky Smolin wrote:
> > 
> > > Thanks for that Jack. I did not know about the transparent
> > > property, even after 25 years of access programming. I am on the
> > > road for a few days, but when I get back I´m going to see if that
> > > is a little more elegant approach. I could put a text box over the
> > > Option frame with the back color of the text box, the same as the
> > > detail section. Then make it visible or not depending On the value
> > > of the header checkbox.
> > > 
> > > Will let you know what I find.
> > > 
> > > Best,
> > > 
> > > r
> > > 
> > > On Tue, Jan 16, 2024 at 4:14PM jack drawbridge
> > > <jackandpat.d at gmail.com> wrote:
> > > 
> > > > Rocky,
> > > > I just saw this post today and did see you had a recent post in
> > > > AccessD. I am sending this link in case it may be helpful in
> > > > resolving your recent issue.
> > > >
> > > > https://www.access-programmers.co.uk/forums/threads/button-visib
> > > > le -i nvisible-in-a-continuous-form.281824/post-1682970
> > > >
> > > > Jack
> > > > --
> > > > AccessD mailing list
> > > > AccessD at databaseadvisors.com
> > > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > > Website: http://www.databaseadvisors.com
> > > >
> > > -- 
> > > AccessD mailing list
> > > AccessD at databaseadvisors.com
> > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > Website: http://www.databaseadvisors.com
> > 
> > 
> > -- 
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> > 
> 
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 




More information about the AccessD mailing list