Hi all, > Am 16.10.2024 um 13:47 schrieb Klaus major-k via use-livecode > <use-livecode@lists.runrev.com>: > ... > just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as > the codepoint if not using any "FontAwesome" icons. > > So I wrote: > ... > put the text of fld "path" into tPath > addicon("metronom",tPath,0) > ... > > However then I get: > button "Button": execution error at line 5 (call: too few arguments), char 1
found the problem and the solution: ... addicon("metronom",tPath,0) ... Is actually a FUNCTION and not a HANDLER as the dictionary states!? So I could add my icon tot he "standard SVG lib" with: ... get addicon("fontawesome/metronom",tPath,0) ... But can't we just click an icon in the inspector for the e.g. navigation bar widget and the SVG lib pops up with a still way to small scrollbar anymore? I click and click, no dice, will need to script this... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode