Try the example from help:
https://www.purebasic.com/documentation ... color.html
Supported OS: All
But works only with Windows....
[Done] SetGadgetItemColor don't work
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: SetGadgetItemColor don't work
It works on Windows OS, but not perfectly - the row colour does not fill the whole row, there is an ugly gap on the left side.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: SetGadgetItemColor don't work
German help for SetGadgetItemColor() wrote:Anmerkungen
Dieser Befehl wird von den folgenden Gadgets unterstützt:
- ListIconGadget()
- TreeGadget()
Hinweis: SetGadgetItemColor() wird auf MacOS X bei diesen zwei Gadgets nicht unterstützt.
But you may take a look into my workaround for the ListIconGadget which demonstrates how to implement the missing SetGadgetItemColor() for MacOS.English help for SetGadgetItemColor() wrote:Remarks
This function is supported by the following gadgets:
- ListIconGadget()
- TreeGadget()
Note: SetGadgetItemColor() isn't supported on MacOS X with these two gadgets.