Newbies RBJ Posted December 13, 2005 Newbies 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
Breezer Posted December 13, 2005 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)]
comment Posted December 13, 2005 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).
Recommended Posts
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