Newbies RBJ Posted December 13, 2005 Newbies Share Posted December 13, 2005 Hi, I have a notes field as an edit box with a vertical scroll bar. I want to put the text cursor at the end of the first line of text. I put a time and date stamp and then want the user to enter text with out having to navigate with the mouse/cursor keys. Thanks Brad Link to comment Share on other sites More sharing options...
Breezer Posted December 13, 2005 Share Posted December 13, 2005 try using "Set Selection[ ]" for example Go to layout ["NotesLayout" (TableName)] Set Field [Table_Name::Notes;TextFont(TextStyleAdd(Get(CurrentDate)&"-"&Get(AccountName)&":";Bold+Underline);Verdana&"PP"&TableName::Notes] Set Selection [Table_Name::Notes;Start Position: Position (Table_Name::Notes;"P";1;2)] Link to comment Share on other sites More sharing options...
comment Posted December 13, 2005 Share Posted December 13, 2005 The Go to Field script step - without Select/perform - will place the cursor after any text in the field (provided it's not in the field already). Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6700 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now