![]() |
|
|
#1
|
|||
|
|||
|
I have command buttons that receive focus based on a Tab Order. Right now it is difficult to tell that cursor has “landed” on the button. I checked the Properties list, but could not see anything that was specific to color selection. Is there a way to change the color of the button when it receives the focus (or some other event)?
|
|
#2
|
|||
|
|||
|
(TY: Linq Adams, alansidman [will use this in the future], and pere_de_chipstick)
I’m working with command buttons as text (not as pictures). I was able to use the following code that works when both tabbing onto the button and clicking the button with the mouse pointer. Private Sub GoToTab3_GotFocus() GoToTab3.FontSize = 9 GoToTab3.FontBold = True GoToTab3.ForeColor = vbRed End Sub Private Sub GoToTab3_LostFocus() GoToTab3.FontSize = 10 GoToTab3.FontBold = False GoToTab3.ForeColor = vbBlack End Sub (alansidman: http://www.datapigtechnologies.com/f...etobutton.html) |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create a command button to Browes for file | sawill | Programming | 3 | 03-15-2009 03:02 PM |
| change cell color | bishop743 | Programming | 0 | 02-01-2009 08:00 AM |
| Duplicate command button | brettg | Database Design | 1 | 08-04-2008 02:16 AM |
| Command button code | lfolger | Forms | 3 | 03-25-2008 02:26 PM |
| Command button for time & date | joet5402 | Forms | 2 | 12-19-2007 11:59 PM |