
|
Book Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word Host your Web site with PureHost! |
![]() Friday, May 18, 2007 – Permalink – Highlight the Current ControlCode vs. property
Access allows you to do this with conditional formatting, but you can also get a similar result using code.
Function Highlight(Stat As String) As Integer
Click the Code button and insert Highlight("GotFocus")in each textbox control's GotFocus event procedure. Likewise, add Highlight("LostFocus")to each textbox's LostFocus event procedure. When you've finished,save the changes, close the VBE, and switch to Form view.
<Doug Klippert@ 6:14 AM
Comments:
Post a Comment
|