Mark Luetzelschwab wrote:
> 
> Subject: Re: clickline()
> >hi all,
> >got a "problem" with clickline() on mc2.4
> >
> >i have a text field in a stack consisting of 3 lines.
> >
> >I feel this field with
> >    put " 1           " & cr "-------------" & cr into fld X
> >by clicking with the mouse (anywhere int the line) on the first line
> >expect that the clickline() returns
> >the line I clicked on. In mc 2.3.2 clickline() returns a value and
> >clickchunk() returns
> >"char 1 to 0 of field X"
> >In mc 2.4 the function returns empty until I click the textchunk "1"
> >any proposals?
> >have checked the archive but did not find anythink.
> >
> >thanks in advance and sorry for my english.
> >
> 
> I suppose this is a bug. You can use:
> if word 2 of the clickLine is empty then answer "Please, click on a
> word on the line!" or something similar.
> -- -------------
> 
> Actually, I would consider this a 'feature'.  It used to be that
> clicking outside the text (i.e. in the margins) returned empty, and
> clicking in whitespace returned char a to a-1...now it looks like if
> you click on text, it gives you the info, if you click on anything
> that is not text, its empty. Makes the logic easier than having to
> determine if the click was in the margin or in the text.
> 
> Use the clickCharChunk/clickchar function to get the char number/char
> the user actually clicked on (in case you do want to know if they
> clicked on a tab, etc).
> 
hi all

Mark, thanks for clickCharChunk. Seems to be like you described the behavior of 
clickline. Ans so I could solve the problem/future.
regards

-- 
Eugen Helbling
_____________________________________________________________________

   GINIT Technology GmbH        [EMAIL PROTECTED]
   Eugen Helbling                          www.ginit-technology.com
   Emmy-Noether-Str. 11                    phone:   +49-721-96681-0
   D-76131 Karlsruhe                       fax:   +49-721-96681-111

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to