On Friday 19 December 2014 14:18:20 misu kun wrote: > Hi > how can i set highlight color and shadow of tbutton's frame ? > Activate "frame", activate "frame.optionsskin" "fso_flat,fso_noanim", the builtin button frame is switched off. Now you can paint the button for the different states by settings in "frame.frameface_*". In order to draw frames use the "frameimage_" properties in tfacelist.list[n]. "frameimage_*" defines a group of 8 images in a timagelist, 4 for the corners and 4 stretched images for the edges. Please see apps/facedomo tstringedit8 for an example.
Another option is to change the values of "defaultframecolors" in unit "msegraphics" (can be done in tskincontroller.colors). A third option is to change the rgb values of the colors of "defaultframecolors" for example by " setcolormapvalue(cl_light,<r>,<g>,<b>); " or by settings in tskincontroller.colors[n]. This influences all use of cl_light. Martin ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

