Older Newer
Thu, 12 Dec 2019 02:03:44 . . . . SyneRyder [first definition]


Changes by last author:

Added:
= bgColor =

== Syntax ==

int bgColor

== Description ==

The currently chosen background color value in the host application (ie Photoshop, Paint Shop Pro).

== Example ==

<code>

%fml

ctl[0]: OWNERDRAW, Size=(50,50), Pos=(240,3)

ctl[1]: OWNERDRAW, Size=(50,50), Pos=(300,3)

ctl[2]: STATICTEXT, Text="Foreground", Pos=(240, 55)

ctl[3]: STATICTEXT, Text="Background", Pos=(300, 55)

OnFilterStart: {

setCtlColor(0, fgColor);

setCtlColor(1, bgColor);

return true;

}

</code>

== See Also ==

fgColor, setCtlColor