Bit of VB .net help

fez

fez

Caporegime
Joined
22 Aug 2008
Posts
28,116
Location
Tunbridge Wells
Bit of a simple one for all the gurus out there. I have a textbox on my form that enlarges when the user enters it using the event ".enter".

I want it to then shrink again after the user clicks outside of the textbox. I have tried numerous events such as the "doubleclick", "lostfocus" etc but the only one that works is "leave".

This works but only when I click on another control on the form; not when I just click off the text box. Any help or guidance would be fantastic and much appreciated.
 
Done both guys, 2 ways of shrinking the box is better than 1. ;-)
 
Last edited:
Back
Top Bottom