Keith, On Tue, Aug 22, 2017 at 3:54 PM, Keith Culotta via 4D_Tech < [email protected]> wrote:
> I think your are right about that. A button is a numeric value. The > button's picture is an [appendage?] that needs a source. Didn't someone > come up with a way to "create" variables at runtime? ​Well, form objects fit the bill. I haven't tried to use a form object with Object set format (to set the button format and the image) but I have verified it won't accept local vars or array elements. I could simply put the image into a form object picture var but then I've got two objects for a single button. The solution I'm using is to save the svg to files in a folder in Resources. When loading the button look in the folder for the specific button image and if it's not there create it and then set the path to that file for the button. The files are really tiny and I may wind up with a few dozen of them but that's really no biggie. -- Kirk Brooks San Francisco, CA ======================= *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

