switchboard buttons

gersheff

Registered User.
Local time
Today, 16:40
Joined
Oct 22, 2004
Messages
17
I have a switchboard set up for my database, and i want the buttons to change colour (or some other noticeable change) when selected. Right not all that occurs is that a small dotted square appears in the button. is this possible?
 
i sort of want the button to change colour once i select it and stay that way until the next button is selected
 
Right not all that occurs is that a small dotted square appears in the button.
That means the command button has the focus.

You can not change the color of a command button. You could make a label visible or not visble based on an event. You could use the mouseover event to make something happen when the user floats their cursor over the command button. Probably more trouble than it is worth but that is your decision.

Check out my mouseoverpopups.zip sample at this thread... OnMouseMove
 
Perhaps you could place a sunken rectangle behind each button and change the respective buttons background colour on the "on click" event -

eg. button1.BackColor 1234

While changing all remaining button rectangles to the default background color.

Maybe not an ideal solution but at least you could tell which button had been selected.
 

Users who are viewing this thread

Back
Top Bottom