There's a diffrence in how to place an insertion point cursor (the blinking
I-beam) in a text member vs. a field member. selStart and selEnd work only
in field memebr. In a text member, use member(X).selection = [2, 2] (as an
example) to place the cursor between character 2 and 3 in the editable box.
(To find out where the insertion point is, use the same syntax, x =
member(X).selection[1].) The advantage of using a text member is better
control over the appearance of the text.
S.
At 03:04 PM 8/21/2001 +0200, you wrote:
>1. Yes, with selStart or selEnd, there might be some other options, dunno,
>never needed to
>2. member("hoursMinsSecsField").text =
>yourHours&":"&yourMins&":"&yourSecs --- or whatever
>
>----- Original Message -----
>From: "Lauri Puisto" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, August 21, 2001 2:21 PM
>Subject: <lingo-l> the position of cursor in a field?
>
>
> > Hi,
> >
> > Is there any way to find out where the "blinking" cursor is in a field?
> > I want to do a field where user can write the time for CD-player. I want
>the
> > field to look like "0:00:00" the propblem is that I don't know how to
> > automaticly put ":" in to the right place? Any ideas what is the best way
>to
> > solve this problem?
> >
> > Lauri Puisto
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]