Stuart McLachlan
stuart at lexacorp.com.pg
Mon Jan 8 04:32:11 CST 2007
WHy not just invoke a standard Shift+F2 zoom form in the DblCLick event?
Private Sub txtMyTextBox_DblClick(Cancel As Integer)
Cancel = True
SendKeys "+{F2}"
End Sub
On 8 Jan 2007 at 1:23, Sad Der wrote:
> Hi,
>
> I need to create a zoom form.
> E.g.: I've got a textbox that can store let's say 200(+) chars. I don't want
> to create a textbox that large.
>
> So if the user double clicks on it I want to open a form with a large
> textfield. The user can type the info in this large textbox and send the
> data back after pressing ok.
>
> Sounds easy....
>
> I've created a function that does this. However, it's not generic.
> I want add a parameter in wich I store the Form and Control of it's origin.
>
> How do I create a parameter in wich I store the 'source control'?
> This parameter is later used to return the data to the correct control.
>
> Regards,
>
> Sander
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
--
Stuart