Results 1 to 5 of 5
  1. #1
    Lukael is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    239

    msocontrol button color ??

    Hi,



    I have custom right-click shortcut menu, and I want to change color of It - buttons specificaly. Currently I think It uses system color, so It's different on another PC.

    Code:
     Set cmdButton1 = cmbRightClick.Controls.Add(msoControlButton, , , , True)
    This is code for my command button, and I wish to change color of It. Have benn lookin at ID's for msocontrols, but haven't found antything that would change color.

    Is there any solution, .Backcolor doesn't work ?

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    I haven't found a color property for msoControlButton via Google!!!!

  3. #3
    Lukael is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    239
    I don't know what you mean, are you serious ? I don't find It, really. If you do, can you post me a link ?

  4. #4
    Lukael is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    239
    Ok, guess like not possible. I'll look further a little bit...

  5. #5
    Lukael is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    239
    As you said, nothing available for button color....

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

Similar Threads

  1. Format the button color puzzled
    By LaughingBull in forum Access
    Replies: 7
    Last Post: 08-30-2015, 08:54 PM
  2. Alternate Row Color
    By mdaneman in forum Access
    Replies: 1
    Last Post: 06-21-2012, 12:39 AM
  3. Alernate row color
    By justgeig in forum Reports
    Replies: 1
    Last Post: 06-05-2012, 08:43 AM
  4. Change color on a button on a form
    By helpme1 in forum Forms
    Replies: 1
    Last Post: 01-13-2012, 12:59 PM
  5. Replies: 2
    Last Post: 03-10-2009, 05:14 PM

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