Trouble deleting a line of text
Bill Vlahos
bvlahos at mac.com
Mon Aug 25 02:56:22 EDT 2008
Thanks Mark. That worked too.
Bill
On Aug 24, 2008, at 4:01 PM, Mark Schonewille wrote:
> Hi Bill,
>
> You don't miss anything. I believe that this works as expected in
> HyperCard, but not in Revolution. You can add this problem to the
> bug report <http://quality.runrev.com/qacenter/show_bug.cgi?id=6988>
> or create a new bug report.
>
> I solved it like this:
>
> do "delete" && the clickLine
>
> Best,
>
> Mark
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> http://facebook.economy-x-talk.com
>
> Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
> for more info.
>
> On 25 aug 2008, at 00:36, Bill Vlahos wrote:
>
>> I have a table field (but in testing any field behaves this way)
>> that I want to delete a line of text when the user right clicks on
>> it. The following script deletes the line of text as expected but
>> then throws an error.
>>
>> 1. Create a field and type several lines of text in it.
>> 2. Lock the text of the field (so it can respond to mouseUp)
>> 3. Paste the following code into the field
>> 4. Click on a line of text
>>
>> on mouseUp
>> select the clickLine
>> answer "Really delete" & return & the clickLine && "?" with "No" or
>> "Yes"
>> if it is "Yes" then
>> delete the clickLine
>> end if
>> end mouseUp
>>
>> What am I missing?
>>
>> Bill Vlahos
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list