VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to Change the Backcolor of the Textbox.

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

Rate How to Change the Backcolor of the Textbox.



HScroll1.Max = 255
HScroll1.Min = 0
HScroll1.LargeChange = 5
End Sub

Private Sub HScroll1_Change()
Text1.BackColor = RGB(HScroll1.Value, 0, 0)
End Sub

Download this snippet    Add to My Saved Code

How to Change the Backcolor of the Textbox. Comments

No comments have been posted about How to Change the Backcolor of the Textbox.. Why not be the first to post a comment about How to Change the Backcolor of the Textbox..

Post your comment

Subject:
Message:
0/1000 characters