spontaneously resizing fields

Wouter wouter.abraham at pi.be
Sat Jan 3 05:37:51 EST 2004


On 03 Jan 2004, at 11:23, use-revolution-request at lists.runrev.com wrote:

> Message: 1
> Date: Sat, 3 Jan 2004 01:10:22 -0700
> From: Alex Rice <alex at mindlube.com>
> Subject: Re: spontaneously resizing fields
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <477CE6A4-3DC4-11D8-855A-000393C4760A at mindlube.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Jan 2, 2004, at 6:39 PM, Wouter wrote:
>
>> change the updateUI to :
>
> Wouter, the symptom - spontaneously resizing field- still exists for me
> using the changed updateUI handler:
>
  And this one using the traversalOn property instead of the 
showFocusBorder?
Works for me ( both rev and mc) with the select empty :

on updateUI
   if lFldLocked <> true then
     if fld 1 = empty then disable fld 1
     else
       set the lockText of fld 1 to true
       set the traversalon of fld 1 to false
       select empty
     end if
   else
     if not the enabled of fld 1then enable fld 1
     set the traversalon of fld 1 to true
     set the lockText of fld 1 to false
     select text of fld 1
   end if
end updateUI

If it doesn't work for you, may you have another handler somewhere 
acting on open/closing fields or something like that.

Greetings,
WA



More information about the use-livecode mailing list