[AccessD] acCmdZoomBox issues

Edward Zuris edzedz at comcast.net
Sun Jun 20 19:44:39 CDT 2010


 Thanks David

 I have been playing with that
 and it seems to have no effect.

 - - - Example - - -

    With Me.txtTaskDescriptionN
            .SetFocus
            .SelStart = Len(.Text) + 1
    End With

    DoCmd.RunCommand acCmdZoomBox

 - - - Or - - -
 
    DoCmd.RunCommand acCmdZoomBox

    With Me.txtTaskDescriptionN
            .SetFocus
            .SelStart = Len(.Text) + 1
    End With

 - - - Or - - -
 
    DoCmd.RunCommand acCmdZoomBox

    With Me.txtTaskDescriptionN
            .SetFocus
            .SelStart = 10
            .SelLength = 5
    End With

    DoEvents

 
 - - - - Any more Ideas to Try ? - - - -
 


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee
Sent: Sunday, June 20, 2010 6:28 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] acCmdZoomBox issues


Look into SelStart and Len(MyTextBox.Text)+1

Sent from my Droid phone.

On Jun 20, 2010 4:47 PM, "Edward Zuris" <edzedz at comcast.net> wrote:



 When using the (DoCmd.RunCommand acCmdZoomBox) to do

 a shift+F2 zoom on a text box all text is selected.



 So if a customer fat fingers something or wants to

 add something starts typing, without clicking at the

 bottom-end of the data, all the previous information

 is erased.



 Is there anyway to deselect the data appearing inside

 the Zoom text box before the customer starts typing?



 Thanks.



 Sincerely,

 Ed Zuris

 <mailto:edzedz at comcast.net> edzedz at comcast.net



--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list