by M.Shahid Khamosh (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 4th May 2008
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
How to Change the Backcolor of the Textbox.
API Declarations
'Add the following code
HScroll1.Max = 255
HScroll1.Min = 0
HScroll1.LargeChange = 5
End Sub
Private Sub HScroll1_Change()
Text1.BackColor = RGB(HScroll1.Value, 0, 0)
End Sub