Page 1 of 1 1
Topic Options
#122053 - 2004-07-01 10:11 PM Set Cursor Location After Form Load
chmod Offline
Fresh Scripter

Registered: 2004-06-01
Posts: 24
Loc: Sacramento, CA
How do I set the cursor to a specific input line after the form is loaded?

Example: I have a form with 3 lines
1st line is the input
2nd/3rd is form output

When the form is loaded, the user must click the 1st line before typing. I want the form to automaticly have the cursor on the 1st line waiting for the user to type.

Top
#122054 - 2004-07-01 10:31 PM Re: Set Cursor Location After Form Load
chmod Offline
Fresh Scripter

Registered: 2004-06-01
Posts: 24
Loc: Sacramento, CA
Nevermind, I found it. Found an example of the SetFocus command in a script using the new Admin Script Editor Search Tool.
Code:
$txtLine1.SetFocus ; set the focus to form input box - txtLine1


Top
#122055 - 2004-07-02 04:07 AM Re: Set Cursor Location After Form Load
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
KiXforms commands/functions are also explained in detail in the KiXforms Manual. You also posted in the wrong forum as this is the KiXtart Starters forum, KiXforms questions are preferably being dealt with in the COM Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.148 seconds in which 0.088 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org