Coloured Buttons (examples)

Dave Eyley

Registered User.
Local time
Today, 17:50
Joined
Sep 5, 2002
Messages
254
Basic coloured buttons. No frills but better than the old grey ones supplied by MS Access.

(See attachment for examples and documentation)

Dave Eyley
 

Attachments

Just a suggestion: You can overlay any rectangular design with a Command Button, make its Transparent property True, and have its OnClick event do what you want. Using this technique, the text on your rectangles needn't fill the rectangle to "catch" the click.

Nice buttons, though! :)

Jim
 
Jim,

If you make the button trnsparent, doesn't that rather defeat the action of the button? You wouldn't see the movement.

If no action is required, then wouldn't you use the OnClick property of the box?

Dave E
 
Dave,

I was suggesting that one could build any kind of a rectangular structure (text box, rectangle, label, or graphic) and superimpose a transparent command button over it to make it seem like the underlying structure had the attributes of a command button.

Even though the button is transparent, it does respond to clicks, so I'd use the button's OnClick instrad of the underlying graphic's OnClick.

You did a nice job with your sample, I was just sharing something I'd picked up a while back.

Jim
 
You're right Jim,

Your method is a good, quick and simple solution and anything that gets us way from those naff grey buttons must be for the better.

It's a shame that MS don't include a library of button shapes and objects that can have similar properties to buttons etc...

Although I do enjoy trying to do the impossible with the few object types supplied, don't you?

See you on the forum,

Regards

Dave E
 

Users who are viewing this thread

Back
Top Bottom