Will, here's an example that turns the color yellow and bolds the text when you enter the textbox:
http://highlighttextbox.notlong.com --- In [email protected], Will Seehorn <[EMAIL PROTECTED]> wrote: > > I'm working on a form. At my age the tiny insert cursor isn't that easy > to see. When a text box gets the focus I'd like to either change the > background color or the color of the text in the box, then change it > back when the textbox looses focus. > > I tried this code: > > Private Sub txtFName_gotfocus(Index As Integer) > BackColor = vbRed > End Sub > > but that changed the forms background color. > > Can what I want to do be done? > > Will '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
