Jump to content

How do I control text cursor position


RBJ
 Share

This topic is 5766 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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

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

This topic is 5766 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.