Button Icon IDs

Peter Haworth pete at lcsql.com
Fri Oct 24 13:22:34 EDT 2014


When setting the icon of a button, there is a hierarchy of locations that
LC uses to find the image.  However, if I subsequently try to reference the
image id in a script, LC won't find it unless I fully qualify where it is
(unless it's on the current card of course).

I want to set the height and width of the button to the height and width of
its icon image.  Is there any way to find the location of the icon image
from its ID?

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list