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. ====== 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 ==== <code> //// 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 ) </code> ==== See Also ==== DARKENCOLOR method, LIGHTENCOLOR method, MIXCOLORS method. guides/oi10/presentation_server/alphacolor_method_system.txt Last modified: 2023/10/25 10:49by 127.0.0.1