====== ALPHACOLOR method (System) ====== ==== Description ==== This method calculates a new color value when a transparency value is applied to it. ==== Syntax ==== ColorAlpha = Exec_Method( "SYSTEM", "ALPHACOLOR", Color, AlphaValue ) ==== Parameters ==== ^Name^Required^Description^ |Color|Yes|Color to adjust.| |AlphaValue|Yes|Percentage transparency to apply (value from 0 to 100).| ==== Returns ==== Contains the adjusted color or "-1" if the color cannot be adjusted. ==== Remarks ==== N/A ==== Example ==== //// Get the system BTNFACE color and create a 20% “transparent” version of it.// Color = Get_Property( @Window, "VISUALSTYLECOLOR", SYSCOLOR_BTNFACE$ ) AlphaColor = Exec_Method( "SYSTEM", "ALPHACOLOR", Color, 20 ) ==== See Also ==== DARKENCOLOR method, LIGHTENCOLOR method, MIXCOLORS method.