int setFill(int n)
Returns true if the function succeeded, false otherwise
Fills an OWNERDRAW control canvas with a solid color. setFill must be surrounded with startSetPixel and endSetPixel controls, which sets which control the fill command will apply to.
%fml ctl[0]: STANDARD, "Red", Val=200 ctl[1]: STANDARD, "Green", Val=0 ctl[2]: STANDARD, "Blue", Val=0 ctl[4]: OWNERDRAW, Size=(100,100), Color=RGB(200,0,0) OnCtl(n): { if (n >= 0 && n <= 2) { startSetPixel(4); setFill( RGB( ctl(0), ctl(1), ctl(2))); endSetPixel(0); } return false; }