Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== DARKENCOLOR Method (System) ====== ==== Description ==== This method returns a darkened version of the specified color. ==== Syntax ==== DkColor = Exec_Method( "SYSTEM", "DARKENCOLOR", Color, Amount ) ==== Parameters ==== ^Name^Required^Description^ |Color|Yes|Color to darken.| |Amount|Yes|Amount by which to darken (between 0 and 1.0)| ==== Returns ==== The darkened color. ==== Remarks ==== N/A ==== Example ==== <code> //// Get the system BTNFACE color and create a darker version of it.// Color = Get_Property( @Window, "VISUALSTYLECOLOR", SYSCOLOR_BTNFACE$ ) DkColor = Exec_Method( "SYSTEM", "DARKENCOLOR", Color, 0.2 ) </code> ==== See Also ==== ALPHACOLOR method, LIGHTENCOLOR method, MIXCOLORS method. guides/oi10/presentation_server/darkencolor_method_system.txt Last modified: 2023/10/25 10:49by 127.0.0.1