Solved

How to color command buttons in VB5

Posted on 2007-03-23
2
190 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
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
p912s earned 125 total points
Comment Utility
Set the Style to 1
0
 
LVL 18

Expert Comment

by:p912s
Comment Utility
Thanks for the grade!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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 …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now