Good evening (o;
Playing around with the great Native Toolbar from Greg (o;
Now when I want to change a toolbar icon when it is pressed to signal a running process, it accepts disabling it so it can’t be pressed any further with:
item.Enabled = False
But when I want to change the icon with:
item.SetIcon(SFIconName)
Xojo refuses to compile with:
Window1.NSToolbar1.ItemPressed, line 4
There is more than one method with this name but this does not match any of the available signatures.
item.SetIcon(pencil)
Am I misunderstanding to documenation?
6 posts - 3 participants