UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> All TextBoxes on Form    
 
   
fcmsb13
post Jan 31 2007, 03:36 PM
Post #1

UtterAccess Enthusiast
Posts: 50



Hi I have a large form with about 200 text boxes. I would like to have it so everytime I click into a textbox it selects all in that box. I found code to put on the click event but that would mean I would have to do this to every textbox.
CODE
[Text71].SelStart = 0
[Text71].SelLength = Len([Text71].Text)
Is there an easier way???
Go to the top of the page
 
+
freakazeud
post Jan 31 2007, 03:39 PM
Post #2

UtterAccess VIP
Posts: 31,413
From: NC, USA



Hi,
sure...set the option globally under tools--options--keyboard tab...
HTH
Good luck
Go to the top of the page
 
+
fcmsb13
post Jan 31 2007, 03:45 PM
Post #3

UtterAccess Enthusiast
Posts: 50



hmm that doesnt seem to be working. I am checking off "Select Entire Field" under Behavior entering field, and when i click in the box it doesnt select all text.

Edited by: fcmsb13 on Wed Jan 31 15:49:51 EST 2007.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 06:21 PM