Freddd Posted April 24, 2004 Posted April 24, 2004 When I tab within a report that already has data, the cursor always appears in the field AFTER the last character. Is there a way so that when I tab from field to field, the cursor appears at the beginning of the field? Before the first character? (I know there is a way to make the entire field be selected, but that wont work for what I need to do). FileMaker Version: 6 Platform: Mac OS X Panther
Vaughan Posted April 26, 2004 Posted April 26, 2004 In FMP 6 your only option is to change the field format to select the entire contents.
MoonShadow Posted April 27, 2004 Posted April 27, 2004 Yes. With FM7, Set Selection [TextField; Start Position: 0; End Position: 0 ] attached to the field would do it. I know it can be done in prior versions. I saw one in action but didn't get to see the code. It was native FM 6 (without plugins) and it returned a User to their exact position within a text string. Here is a buggy way to do it by attaching a script to your field. Maybe others can enhance the idea for you and it's a bit of work if you have to attach to every field. For what it's worth, just to get the ball rolling on the ideas ... Set Field [ TextField, "~" & TextField ] Go To Field [ TextField ] .. do not select/perform Perform Find/Replace [No Dialog] ...Find What (text): "~" ...Replace With (text): "" ...Direction: Backward (sorta like me) ...Search: Current Record ...Search Within: Current Field Cut [ ] Told you it wasn't pretty. I believe you could use something similar to mark your place within a text field. Update: I'm too mouse-focused. It doesn't appear to work when tabbing to the field only when selecting (same with vs. 7). I'll work on it - because I know it's possible.
Recommended Posts
This topic is 7777 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