Message 1 of 5
Checkbox backcolor ques
Not applicable
02-23-2002
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
does a check box have to be disabled to be able to set the backcolor to
grey?
in this ex. ASBCheck is a check box and ASBCenteredCheck is a check box
Sub disable_asb()
''''''''''''''''''''''''''this doesn't work - why not?????
ASBCheck.BackColor = -2147483633
'but this does work
ASBCenteredCheck.Enabled = False
ASBCenteredCheck.BackColor = -2147483633
End Sub
I don't want to disable ASBCheck but I want to grey it out when this sub is
fired,
I want to later be able to hit ASBCheck and have it call enable_asb
Also, I see the colors in the properties box spelled like &H8000000F& but
when I put that in a sub i get an error
Is there a chart of color numbers in the help files somewhere? I've looked
but cant find it.
Also is there somewhere in the help that has info like the above question -
I may be looking in the wrong place, I just haven't found hardly anything on
form controls and have therefore been wasting bandwidth with my lame
questions for the last couple days. I'm afraid I'm going to wear out my
welcome here.
Thanks for any help
Mark
grey?
in this ex. ASBCheck is a check box and ASBCenteredCheck is a check box
Sub disable_asb()
''''''''''''''''''''''''''this doesn't work - why not?????
ASBCheck.BackColor = -2147483633
'but this does work
ASBCenteredCheck.Enabled = False
ASBCenteredCheck.BackColor = -2147483633
End Sub
I don't want to disable ASBCheck but I want to grey it out when this sub is
fired,
I want to later be able to hit ASBCheck and have it call enable_asb
Also, I see the colors in the properties box spelled like &H8000000F& but
when I put that in a sub i get an error
Is there a chart of color numbers in the help files somewhere? I've looked
but cant find it.
Also is there somewhere in the help that has info like the above question -
I may be looking in the wrong place, I just haven't found hardly anything on
form controls and have therefore been wasting bandwidth with my lame
questions for the last couple days. I'm afraid I'm going to wear out my
welcome here.
Thanks for any help
Mark