Results 1 to 9 of 9
  1. #1
    justphilip2003 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Ohio
    Posts
    125

    Coloring Buttons not working


    I have two forms with the same set of buttons, "ENTER" and "CLOSE". On the newest db, the Form has a white background and the older Form (developed mainly with Access 2003) has a green background. On both Forms the close button has a "Back Color" of #F9CDAA and a "Fore Color" of #000000. The Enter Buttons have "Back Color" of "Accent1, lighter 40%" and "Fore Color" of "Text1, lighter 25%". In both button cases, the newest Form properly shows the colors but the older one does not. I've scan for everything I know that reflects color choices with no luck. Please tell me what I am missing! TIA Phil

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by justphilip2003 View Post

    ...the close button has a "Back Color" of #F9CDAA...
    How did you manage this? Command Buttons have no Back Color Property! The Command Button Back Color is controlled by Windows, not by Access!

    Or maybe these aren't actually Command Buttons, at all, but rather Labels or Textboxes being used as Command Buttons?

    Now what can be done from Access, that can change how it appears, is whether the Back Style Property is set to 'Normal' or 'Transparent.' And don't get this confused with the Transparent Property (one line down from Back Style) which is something else altogether.

    Linq ;0)>

  3. #3
    justphilip2003 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Ohio
    Posts
    125
    I'm not sure about your statement! I selected the rectangle button builder and when the wizard design window popped up, I canceled it and proceeded to build my logic manually. This was done for the "ENTER" button created today. The "CLOSE" button was copied from the older db, button and logic. Both buttons on the newest form are color changeable not so on the older Form. I can't recall the manner in which the older "Close" button was created, it predates Access 2003. Since my Access vocabulary is wanting, how should I define these action on click squares? TIA Phil

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    What, exactly, is a rectangle button builder? Is this maybe something new in 2010? Not available up through 2007.

    Linq ;0)>

  5. #5
    justphilip2003 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Ohio
    Posts
    125
    Under Form Design, there is a Button builder with xxxx inside it, its labeled Button. I was asking what to call my object if it is not a button created by the button builder. I am a beginner with many holes in my Access knowledge, but I do not think it is new. I wonder by canceling the wizard, that I changed the status of "rectangle button builder" from a button object to a text box (?). TIA Phil

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    That is just a regular command button. Whether or not you use the wizard to build code (macro or VBA) behind the button, it's still a command button picked from the Design tab. Canceling the wizard would not change the control type. It will still be a button but without code.

    Aside from picking from the Design tab, VBA is the only other way to create any controls - not something I've ever needed to do.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Linq;
    In 2010, a user can select a back color for a command button. This is a new feature in 2010.

    @justphilip2003. Is your db saved as an .mdb or as a 2010 accdb?

  8. #8
    justphilip2003 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Ohio
    Posts
    125
    The db with the color changeable buttons is a .accdb the older db that is not color changeable is a .mdb. I see another lesson coming my way! LOL TIA Phil

  9. #9
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    If you want to simulate a button in the older db with color, then look at this video tutorial.

    http://www.datapigtechnologies.com/f...etobutton.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Command Buttons Stopped Working on Form
    By genest11 in forum Reports
    Replies: 12
    Last Post: 02-06-2013, 06:59 AM
  2. Working with Radio Buttons and Option Groups
    By queenbee in forum Access
    Replies: 1
    Last Post: 04-29-2011, 02:25 PM
  3. Coloring a combobox as error message?!
    By Lidwina in forum Forms
    Replies: 1
    Last Post: 03-03-2011, 11:12 AM
  4. All Buttons Stopped Working and...
    By rhoridge in forum Programming
    Replies: 1
    Last Post: 12-02-2010, 11:25 PM
  5. Navigation Buttons not working please help
    By dinarocks74 in forum Access
    Replies: 3
    Last Post: 06-26-2009, 10:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums