spinbutton enabled = false not changing colour
I need the backcolor, but doing:
ctl.ForeColor = vbButtonShadow
simulates a disabled state and that is good enough in my case.
Still, always interested in a better solution.
RBS
"Harald Staff" wrote in message
...
"RB Smissaert" skrev i melding
...
Try again, but now when the spinbutton has a backcolor set before doing
Enable = False.
I picked this backcolor: 15001309, but may not matter.
So, this trouble is caused by the backcolor being set, not anything else.
Note that the commandbutton doesn't have this problem.
I see. That makes kinda sense.
But "don't" then <g. Some things in life doesn't combine and we usually
have to live with that.
Thank you for the insight though. We live and we learn.
Best wishes Harald
|