Button is behavior

Richard Gaskin ambassador at fourthworld.com
Fri Nov 28 09:08:33 EST 2014


Hugh Senior wrote:
> It's a supplementary idea for the upcoming Control Manager utility to show
> not only the style but the function of a button.
>
> More generally, behaviours are a bit like icons, although locating a
> behaviour source is easier than locating an image source!

That got much easier a few builds ago with the "resolve image" command - 
from its Dictionary entry:

     This command resolves a short id or name of an image as would
     be used  for an icon and sets it to the long ID of the image
     according to the documented rules for resolving icons.

For behaviors, anything the IDE were to provide would have to use a 
brute-force on-the-fly algorithm very similar to the one Mike provided, 
since behaviors can be set and changed dynamically at any time.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list