Icons in headed list

Scotte Meredith spomacguy at gmail.com
Wed Jan 4 17:50:06 UTC 2023

Hi, Kelly --

I had moved these to complex grids and was setting the icons on transparent buttons. I'm doing to retry on Headed Lists.

I think the problem was that I was using something like 
instead of

The k16x16 seems to have been the problem.

> On Dec 30, 2022, at 11:38 PM, Kelly Burgess <kellyb at montana.com> wrote:
> Hi Scotte,
>> I'm trying to put SVG (named) icons in the list and cannot find a way.
> This is working for me in Studio 10.2 31315 -
> #(these are actually set as initial values in the variables pane)
> Calculate check as style(kEscBmp,'checkbox+14x14')
> Calculate uncheck as style(kEscBmp,'emptycheckbox+14x14')
> #(would also work directly in the list.$add()s but vars easier to read)
> Do #L1.$define(#S1,#1,#S2)
> Do #L1.$add(con(check,'Activities'),1,'none')
> Do #L1.$add(con(uncheck,'Plans'),1,'none')
> .. where 'checkbox.svg' and 'emptycheckbox.svg' are in an active iconsets folder, and the 3-column headed list calculation is con(#S1,kTab,#1,kTab,#S2).  I see the corresponding checkbox icon at the front of the words in the first column.
> Kelly
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

Scotte Meredith
spomacguy at gmail.com

More information about the omnisdev-en mailing list