answer error problem

sims sims at ezpzapps.com
Wed Feb 27 11:05:01 EST 2002


Thanks Ken,

>I'd love to help, but I have a few questions:
>
>1) When you say the "answer error", which do you mean - the answer dialog
>box, or the error dialog box?


    answer error "You must select (hilite) text before you can change 
the text style"

>
>2) When you say you have to "click it twice", where are you clicking it?

"OK"

>
>3) If it is the error dialog box, can you post the code that is bringing up
>the error?


see below

>
>4) On a Mac running what OS?

Mac 9.2.1   and OS 10.1.2

>
>Thanks,
>
>Ken Ray

Here's the full post I sent to the list yesterday:

At 10:16 -0500 2/26/02, sims wrote:
>
>Problem: When the answer error pops up, I have to click it twice
>in order to dismiss it.
>
>The cursor appears as a hand prior to first click...
>The cursor turns into an iBeam after the first click
>and stays an iBeam while over the "OK" button unless
>moved - if moved, it becomes a hand and can then click 'OK'
>
>This is on a Mac if that makes any difference.
>
>This does not happen in Rev editing mode but
>does occur opened from an 'opener' standalone (this is a Rev file in
>which I want any  changes to it to be saved).
>
>The 'answer' error appears over an area which has the following layered
>items (starting with bottom to top):
>
>cd > image > either a player object or another image > opaque text field
>
>It occurs if the text field focus is or is not enabled.
>
>
>on menuPick what
>   if the selectedText of fld "text" is ""
>   then
>    answer error "You must select (hilite) text before you can change 
>the text style"
>     exit menuPick
>   else
>   end if
>   set the label of me to what
>   put what into tStyle
>   put the textStyle of the selectedText into tOldStyle
>   set the textStyle of the selectedText  to what
>   if the textStyle of the  selectedText is empty
>   then
>     set the textStyle of the selectedText to tStyle
>   else
>     set the textStyle of the selectedText to tOldSTyle&comma&tStyle
>   end if
>end menuPick

___________________________________________

    http://www.EZPZapps.com         info at EZPZapps.com
       Software - Internet Development - Consulting



More information about the Use-livecode mailing list