Dear community,
I have made a SVG icon and put that in an image on my canvas. It looks great.
I have put a transparent PowerApps icon (and not a button) on top of it for the hovering and pressing properties
(and offcourse the pointing cursor).
I have declared a color in the OnStart:
Set (
defaults;
{primaryColor: ColorValue("#6200EE")}
);;
Set (
defaults;
Patch(
defaults;
{
primaryColorHex: Match(
JSON(defaults.primaryColor;JSONFormat.IgnoreUnsupportedTypes);
"#[a-fA-F0-9]{6}"
).FullMatch
}
)
)
and offcourse declared that variable in the SVG code:
"data:image/svg+xml;utf8, "&
EncodeUrl("
<svg fill='"&defaults.primaryColorHex&"' xmlns=........
What i woud like is when i hover over the icon the color then must be changed of the SVG image and offcourse the same for pressing on the icon. Is that possible?
I quess i have to change the color in the OnStart in the propery HoverFull of the icon. Is that possible?
GR. P