RE: lingo-l Sel end, Sel start

2001-04-17 Thread Jon Paul Alongi


ok guys...who can do this...

ive got a list in a field that ive formateed with ITEM DELIMITER

so it was...   file1,file2,file3

now

file1
file2
file3



I also have 
on mouseUp me
  jayp = pointToLine(sprite me.spriteNum, the clickLoc)
end






how can i use SEL START and END to RETURN


the file name on a given line..

so i can use it to open a file



thanx in advance...you geniuses...
jon




[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!]




Re: lingo-l Sel end, Sel start

2001-04-17 Thread g r i m m w e r k s


Well I think it's a bit of a kludge to go from one then back to the other.
Personally I'd use a property called 'pFileList' that would still be the
list (file1, file2, file3), and then when the user clicks on line I'd just
point to the filelist, ie

PselectedFile = pFileList[pointToLine(sprite me.spritenum, the clickLoc)


Of course I'd also call the sprite something in the behavior instead of
referring to it with sprite me.spritenum...



On 4/17/01 1:08 PM, "Jon Paul Alongi" [EMAIL PROTECTED] wrote:

 
 ok guys...who can do this...
 
 ive got a list in a field that ive formateed with ITEM DELIMITER
 
 so it was...   file1,file2,file3
 
 now
 
 file1
 file2
 file3
 
 
 
 I also have 
 on mouseUp me
 jayp = pointToLine(sprite me.spriteNum, the clickLoc)
 end
 
 
 
 
 
 
 how can i use SEL START and END to RETURN
 
 
 the file name on a given line..
 
 so i can use it to open a file
 
 
 
 thanx in advance...you geniuses...
 jon
 
 
 
 
 [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!]


[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!]




RE: lingo-l Sel end, Sel start

2001-04-17 Thread Al Hospers

 how can i use SEL START and END to RETURN
 the file name on a given line..
 so i can use it to open a file

why use selStart/End? why not use the mouseLine?

HTH

Al Hospers
CamberSoft, Inc.
alatcambersoftdotcom
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[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!]