Re: Placing cursor in text field in included form

2017-10-30 Thread Vincent de Lachaux via 4D_Tech
Hi Lee, The subform container must be set "Focusable". Then, when the container get the focus the form event "On Activate" is triggered. So when the subform get this event, just do a GOTO object. v i n c e n td el a c h a u x Bee green - keep it

Re: Placing cursor in text field in included form

2017-10-27 Thread Kirk Brooks via 4D_Tech
Lee, First, write a method to take an object name as $1 and uses HIGHLIGHT TEXT to place the cursor wherever you want it. Second, call this method using EXECUTE IN SUBFORM("subform name"; "MyMethod";*;"subform object name") On Fri, Oct 27, 2017 at 10:10 AM, Lee Hinde via 4D_Tech <

Placing cursor in text field in included form

2017-10-27 Thread Lee Hinde via 4D_Tech
in v15... Input form with an included layout that is just a text field. User clicks a "new" button which adds a related record, date/timestamps it as the first part of the field. User would like the cursor to be placed to the right of the time stamp. Based on the commented out code, the