Solved

How to color command buttons in VB5

Posted on 2007-03-23
2
204 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 125 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

724 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