This is a simplification of the actual problem, but what I'd like to do is this:
On a form I have 4 textboxes called text1.... text4 Below it I have a button. If I'm entering text into text box 3, I'd like to press the button and have the value replaced with "something spiffy". Likewise, if I'm entering text into textbox2, I'd like to press the same button, but have textbox2 replaced with "something spiffy". Iow, whatever box I was in just before I pressed the button, but ONLY one of those 4 boxes. (there are other textboxes on the form) Any ideas? I looked at activecontrol, but of course, when I press the button, the button is ActiveControl. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

