color

VTW Color Picker

Script Dim PosX, PosY Dim colorPicker Sub ImageMouseDown(Sender, Button, Shift, X, Y) PosX = X PosY = Y End sub Sub ImageOnClick(Sender) colorPicker = Sender.Canvas.Pixels(PosX, PosY) txtCCColor.Text = ConvertToCColor(colorPicker) txtRGBColor.Text = ConvertToRgb(colorPicker) txtRGBColor.Color = colorPicker txtCCColor.Color = colorPicker End sub Function ConvertToRgb(color) Dim red, green, blue, temp temp = color red = temp Mod &H100

VTW Color Picker Read More »

VTW Color Chart Selector

Script Sub InitForm loadColors() End Sub Class ColorsObj Public codeColor Public hexaColor Public rgbColor Public vtwColor End Class Dim arrColors() EmptyArray() Sub EmptyArray() ReDim arrColors(0) Set sObj = new ColorsObj sObj.codeColor = “” sObj.hexaColor = “” sObj.rgbColor = “” sObj.vtwColor = “” Set arrColors(0) = sObj End sub Sub loadColors() Erase arrColors Set XMLColors =

VTW Color Chart Selector Read More »

VTW Color Dialog Picker

Script Sub BtnColorsClick(Sender) If ColorDialog1.Execute then temp = ColorDialog1.Color red = temp Mod &H100 temp = temp \ &H100 green = temp Mod &H100 temp = temp \ &H100 blue = temp Mod &H100 rvb.Text = red & ” ” & green & ” ” & blue rvb01.Text = red/255 & ” ” & green/255

VTW Color Dialog Picker Read More »

Shopping Cart