Jim DeMarco
Jdemarco at hudsonhealthplan.org
Wed Sep 14 10:22:14 CDT 2005
Just gave this a test and I like John's method better. Let me know if you want the test code to see it work. I added a property to the zoom form to hold the text box control from the calling form. Jim D. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 14, 2005 9:34 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Zoom Box Why don't you pass a pointer to the control itself? Then just deposit the results directly back in the control itself on the calling form. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, September 14, 2005 9:14 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Zoom Box You need to pass the control name to the zoom form (you may have to pass the form name as well if you're planning on implementing on many forms). You can do this by writing it to the zoom form's Tag property or by creating a public Property on the zoom form. HTH, Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of Randall R Anthony Sent: Wednesday, September 14, 2005 9:10 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Zoom Box Hi all, I'm creating a "Zoom" box for text fields. Ie, when the user double clicks a form text box, a form with one text field appears and the contents of the text box are fully displayed without having to scroll through it. The easy part is opening the box and populating. How do I get the contents from the zoom box back into the form text field that it was called from? I've tried saving to string or form but I'm not having any luck. Thanks for your help. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ***********************************************************************************