<SCRIPT LANGUAGE="VBScript"> <!-- Sub RedScroll_Change() RedDec.Text=RedScroll.Value End SubRedHex.Text=Hex(RedScroll.Value) document.DxmControl.R=RedScroll.Value/256 UpdateVals Sub GreenScroll_Change() GreenDec.Text=GreenScroll.Value End SubGreenHex.Text=Hex(GreenScroll.Value) document.DxmControl.G=GreenScroll.Value/256 UpdateVals Sub BlueScroll_Change() BlueDec.Text=BlueScroll.Value End SubBlueHex.Text=Hex(BlueScroll.Value) document.DxmControl.B=BlueScroll.Value/256 UpdateVals Sub UpdateVals ColorTextBox.Backcolor = RGB(RedScroll.Value, GreenScroll.Value, BlueScroll.Value) End Subdocument.DxmControl.updateColor() --> </SCRIPT> © 1998 Microsoft Corporation. All rights reserved. Terms of Use. |