?
Solved

How to color command buttons in VB5

Posted on 2007-03-23
2
Medium Priority
?
208 Views
Last Modified: 2013-12-26
If I click on a command button in VB5 in developer mode, I get a list of attributes I can change.

One of the attributes is "backcolor" and it has a little square to show the color selected so far. I change that to RED via palette.

Another is "maskcolor" and I change it's little square to RED also

Finally there is "UseMaskColor" which I set to TRUE.

All this is an apparent waste of time. Nothing changes in the command button.

1) Why do these attributes exist?
2) How can I color my command buttons?

Mac
0
Comment
Question by:QBasic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
p912s earned 500 total points
ID: 18779385
Set the Style to 1
0
 
LVL 18

Expert Comment

by:p912s
ID: 18780512
Thanks for the grade!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question