putting cursor in a specific field

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

putting cursor in a specific field

Post by Glenn Boyce » Wed Jan 07, 2009 10:45 pm

How do I put the cursor in a specific field on a card. I have a number of fields in a group in the correct order but when I push a button I want the cursor to move to the first one.
thanks Glenn

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Wed Jan 07, 2009 11:21 pm

If you want to set the insertion point at the front

Code: Select all

select before the text of field "foo"
or at the end

Code: Select all

select after the text of field "bar"
or if you want to select the entire contents

Code: Select all

select the text of field "baz"
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Post by Glenn Boyce » Thu Jan 08, 2009 8:24 pm

thanks. New it would be simple but couldn't find it in the Help

Post Reply