Results 1 to 3 of 3

Thread: Changing the color of the forms....

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Location
    N.S.W. Australia
    Posts
    2

    Smile

    How do i change the background color from grey to yellow????
    i can imagine it's pretty easy but i have no idea...
    Anyone have any suggestions???

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Code:
    Form1.BackColor = &HFFFF&
    Or just look thru the form properties and change the "BackColor" field to whatever color you want.
    Gl,
    D!m
    Dim

  3. #3
    Guest
    The primary and secondary colours have constants.

    Code:
    Me.BackColor = vbYellow
    If hex is confusing for you, you can also specify the value in QBColor or RGB.

    Code:
    'Using QBColor
    Me.BackColor = QBColor(14)
    
    'Using RGB
    Me.BackColor = RGB(255, 255, 0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width